diff options
Diffstat (limited to 'include/asm-parisc/mmzone.h')
-rw-r--r-- | include/asm-parisc/mmzone.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-parisc/mmzone.h b/include/asm-parisc/mmzone.h index 928bf50c4693..595d3dce120a 100644 --- a/include/asm-parisc/mmzone.h +++ b/include/asm-parisc/mmzone.h | |||
@@ -19,7 +19,6 @@ extern struct node_map_data node_data[]; | |||
19 | */ | 19 | */ |
20 | #define kvaddr_to_nid(kaddr) pfn_to_nid(__pa(kaddr) >> PAGE_SHIFT) | 20 | #define kvaddr_to_nid(kaddr) pfn_to_nid(__pa(kaddr) >> PAGE_SHIFT) |
21 | 21 | ||
22 | #define node_mem_map(nid) (NODE_DATA(nid)->node_mem_map) | ||
23 | #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) | 22 | #define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn) |
24 | #define node_end_pfn(nid) \ | 23 | #define node_end_pfn(nid) \ |
25 | ({ \ | 24 | ({ \ |
@@ -38,7 +37,7 @@ extern struct node_map_data node_data[]; | |||
38 | ({ \ | 37 | ({ \ |
39 | unsigned long __pfn = (pfn); \ | 38 | unsigned long __pfn = (pfn); \ |
40 | int __node = pfn_to_nid(__pfn); \ | 39 | int __node = pfn_to_nid(__pfn); \ |
41 | &node_mem_map(__node)[node_localnr(__pfn,__node)]; \ | 40 | &NODE_DATA(__node)->node_mem_map[node_localnr(__pfn,__node)]; \ |
42 | }) | 41 | }) |
43 | 42 | ||
44 | #define page_to_pfn(pg) \ | 43 | #define page_to_pfn(pg) \ |