This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / asm-arm / arch-pxa / memory.h
index 427e6ff..eaf6d43 100644 (file)
@@ -15,7 +15,7 @@
 /*
  * Physical DRAM offset.
  */
-#define PHYS_OFFSET    (0xa0000000UL)
+#define PHYS_OFFSET    UL(0xa0000000)
 
 /*
  * Virtual view <-> DMA view memory address translations
@@ -37,8 +37,6 @@
  *     node 3:  0xac000000-0xafffffff  -->  0xcc000000-0xcfffffff
  */
 
-#define NR_NODES       4
-
 /*
  * Given a kernel address, find the home node of the underlying memory.
  */
 #define LOCAL_MAP_NR(addr) \
        (((unsigned long)(addr) & 0x03ffffff) >> PAGE_SHIFT)
 
-#else
-
-#define PFN_TO_NID(addr)       (0)
-
 #endif
 
 #endif