]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-ia64/mmzone.h
[ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc...
[linux-2.6-omap-h63xx.git] / include / asm-ia64 / mmzone.h
index 83ca4043fc1158076965dfaeae8e782da7f92292..d32f51e3d6c2d9398cc647b0bf35f8f906462756 100644 (file)
@@ -15,6 +15,8 @@
 #include <asm/page.h>
 #include <asm/meminit.h>
 
+#ifdef CONFIG_DISCONTIGMEM
+
 static inline int pfn_to_nid(unsigned long pfn)
 {
 #ifdef CONFIG_NUMA
@@ -29,8 +31,6 @@ static inline int pfn_to_nid(unsigned long pfn)
 #endif
 }
 
-#ifdef CONFIG_DISCONTIGMEM
-
 #ifdef CONFIG_IA64_DIG /* DIG systems are small */
 # define MAX_PHYSNODE_ID       8
 # define NR_NODE_MEMBLKS       (MAX_NUMNODES * 8)