]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-footbridge/include/mach/io.h
ARM: kill off __mem_pci
[karo-tx-linux.git] / arch / arm / mach-footbridge / include / mach / io.h
index 15a70396c27d41f123910fdd9cd7844d2d2cf033..aba531eebbc6723cfe5ea69c31634caac46a160b 100644 (file)
  * Translation of various region addresses to virtual addresses
  */
 #define __io(a)                        ((void __iomem *)(PCIO_BASE + (a)))
-#if 1
-#define __mem_pci(a)           (a)
-#else
-
-static inline void __iomem *___mem_pci(void __iomem *p)
-{
-       unsigned long a = (unsigned long)p;
-       BUG_ON(a <= 0xc0000000 || a >= 0xe0000000);
-       return p;
-}
-
-#define __mem_pci(a)           ___mem_pci(a)
-#endif
 
 #endif