diff options
Diffstat (limited to 'arch/m32r/mm/init.c')
-rw-r--r-- | arch/m32r/mm/init.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/m32r/mm/init.c b/arch/m32r/mm/init.c index bbd97c85bc5d..2554eb59cfef 100644 --- a/arch/m32r/mm/init.c +++ b/arch/m32r/mm/init.c | |||
@@ -93,8 +93,7 @@ void free_initrd_mem(unsigned long, unsigned long); | |||
93 | #endif | 93 | #endif |
94 | 94 | ||
95 | /* It'd be good if these lines were in the standard header file. */ | 95 | /* It'd be good if these lines were in the standard header file. */ |
96 | #define START_PFN(nid) \ | 96 | #define START_PFN(nid) (NODE_DATA(nid)->bdata->node_min_pfn) |
97 | (NODE_DATA(nid)->bdata->node_boot_start >> PAGE_SHIFT) | ||
98 | #define MAX_LOW_PFN(nid) (NODE_DATA(nid)->bdata->node_low_pfn) | 97 | #define MAX_LOW_PFN(nid) (NODE_DATA(nid)->bdata->node_low_pfn) |
99 | 98 | ||
100 | #ifndef CONFIG_DISCONTIGMEM | 99 | #ifndef CONFIG_DISCONTIGMEM |
@@ -123,7 +122,7 @@ unsigned long __init zone_sizes_init(void) | |||
123 | start_pfn = __MEMORY_START >> PAGE_SHIFT; | 122 | start_pfn = __MEMORY_START >> PAGE_SHIFT; |
124 | #endif /* CONFIG_MMU */ | 123 | #endif /* CONFIG_MMU */ |
125 | 124 | ||
126 | free_area_init_node(0, NODE_DATA(0), zones_size, start_pfn, 0); | 125 | free_area_init_node(0, zones_size, start_pfn, 0); |
127 | 126 | ||
128 | return 0; | 127 | return 0; |
129 | } | 128 | } |
@@ -252,4 +251,3 @@ void free_initrd_mem(unsigned long start, unsigned long end) | |||
252 | printk (KERN_INFO "Freeing initrd memory: %ldk freed\n", (end - start) >> 10); | 251 | printk (KERN_INFO "Freeing initrd memory: %ldk freed\n", (end - start) >> 10); |
253 | } | 252 | } |
254 | #endif | 253 | #endif |
255 | |||