浏览代码

Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6

Linus Torvalds 20 年之前
父节点
当前提交
16822e6205
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/asm-ia64/mmzone.h

+ 2 - 2
include/asm-ia64/mmzone.h

@@ -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)