diff options
Diffstat (limited to 'include/asm-i386')
-rw-r--r-- | include/asm-i386/mmzone.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-i386/mmzone.h b/include/asm-i386/mmzone.h index 13830ae67cac..9cec191f462c 100644 --- a/include/asm-i386/mmzone.h +++ b/include/asm-i386/mmzone.h | |||
@@ -79,7 +79,6 @@ static inline int pfn_to_nid(unsigned long pfn) | |||
79 | */ | 79 | */ |
80 | #define kvaddr_to_nid(kaddr) pfn_to_nid(__pa(kaddr) >> PAGE_SHIFT) | 80 | #define kvaddr_to_nid(kaddr) pfn_to_nid(__pa(kaddr) >> PAGE_SHIFT) |
81 | 81 | ||
82 | #define node_mem_map(nid) (NODE_DATA(nid)->node_mem_map) | ||
83 | #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) | 82 | #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) |
84 | #define node_end_pfn(nid) \ | 83 | #define node_end_pfn(nid) \ |
85 | ({ \ | 84 | ({ \ |
@@ -100,7 +99,7 @@ static inline int pfn_to_nid(unsigned long pfn) | |||
100 | ({ \ | 99 | ({ \ |
101 | unsigned long __pfn = pfn; \ | 100 | unsigned long __pfn = pfn; \ |
102 | int __node = pfn_to_nid(__pfn); \ | 101 | int __node = pfn_to_nid(__pfn); \ |
103 | &node_mem_map(__node)[node_localnr(__pfn,__node)]; \ | 102 | &NODE_DATA(__node)->node_mem_map[node_localnr(__pfn,__node)]; \ |
104 | }) | 103 | }) |
105 | 104 | ||
106 | #define page_to_pfn(pg) \ | 105 | #define page_to_pfn(pg) \ |