aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m32r
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m32r')
-rw-r--r--arch/m32r/mm/discontig.c3
-rw-r--r--arch/m32r/mm/init.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/m32r/mm/discontig.c b/arch/m32r/mm/discontig.c
index aa9145ef6cca..cc23934bc41e 100644
--- a/arch/m32r/mm/discontig.c
+++ b/arch/m32r/mm/discontig.c
@@ -147,8 +147,7 @@ unsigned long __init zone_sizes_init(void)
147 zholes_size[ZONE_DMA] = mp->holes; 147 zholes_size[ZONE_DMA] = mp->holes;
148 holes += zholes_size[ZONE_DMA]; 148 holes += zholes_size[ZONE_DMA];
149 149
150 free_area_init_node(nid, NODE_DATA(nid), zones_size, 150 free_area_init_node(nid, zones_size, start_pfn, zholes_size);
151 start_pfn, zholes_size);
152 } 151 }
153 152
154 /* 153 /*
diff --git a/arch/m32r/mm/init.c b/arch/m32r/mm/init.c
index bbd97c85bc5d..28799af15e95 100644
--- a/arch/m32r/mm/init.c
+++ b/arch/m32r/mm/init.c
@@ -123,7 +123,7 @@ unsigned long __init zone_sizes_init(void)
123 start_pfn = __MEMORY_START >> PAGE_SHIFT; 123 start_pfn = __MEMORY_START >> PAGE_SHIFT;
124#endif /* CONFIG_MMU */ 124#endif /* CONFIG_MMU */
125 125
126 free_area_init_node(0, NODE_DATA(0), zones_size, start_pfn, 0); 126 free_area_init_node(0, zones_size, start_pfn, 0);
127 127
128 return 0; 128 return 0;
129} 129}