diff options
Diffstat (limited to 'arch/m32r/mm')
-rw-r--r-- | arch/m32r/mm/discontig.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/m32r/mm/discontig.c b/arch/m32r/mm/discontig.c index 07c1af7dc0e2..aa9145ef6cca 100644 --- a/arch/m32r/mm/discontig.c +++ b/arch/m32r/mm/discontig.c | |||
@@ -20,7 +20,6 @@ extern char _end[]; | |||
20 | 20 | ||
21 | struct pglist_data *node_data[MAX_NUMNODES]; | 21 | struct pglist_data *node_data[MAX_NUMNODES]; |
22 | EXPORT_SYMBOL(node_data); | 22 | EXPORT_SYMBOL(node_data); |
23 | static bootmem_data_t node_bdata[MAX_NUMNODES] __initdata; | ||
24 | 23 | ||
25 | pg_data_t m32r_node_data[MAX_NUMNODES]; | 24 | pg_data_t m32r_node_data[MAX_NUMNODES]; |
26 | 25 | ||
@@ -81,7 +80,7 @@ unsigned long __init setup_memory(void) | |||
81 | for_each_online_node(nid) { | 80 | for_each_online_node(nid) { |
82 | mp = &mem_prof[nid]; | 81 | mp = &mem_prof[nid]; |
83 | NODE_DATA(nid)=(pg_data_t *)&m32r_node_data[nid]; | 82 | NODE_DATA(nid)=(pg_data_t *)&m32r_node_data[nid]; |
84 | NODE_DATA(nid)->bdata = &node_bdata[nid]; | 83 | NODE_DATA(nid)->bdata = &bootmem_node_data[nid]; |
85 | min_pfn = mp->start_pfn; | 84 | min_pfn = mp->start_pfn; |
86 | max_pfn = mp->start_pfn + mp->pages; | 85 | max_pfn = mp->start_pfn + mp->pages; |
87 | bootmap_size = init_bootmem_node(NODE_DATA(nid), mp->free_pfn, | 86 | bootmap_size = init_bootmem_node(NODE_DATA(nid), mp->free_pfn, |
@@ -163,4 +162,3 @@ unsigned long __init zone_sizes_init(void) | |||
163 | 162 | ||
164 | return holes; | 163 | return holes; |
165 | } | 164 | } |
166 | |||