Commit 28e749ba authored by Hirokazu Takata's avatar Hirokazu Takata Committed by Linus Torvalds

[PATCH] m32r: update zone_sizes_init()

  This patch upgrades zone_sizes_init() function.
  This patch is required because free_area_init_node()'s interface
  has been changed.

	* arch/m32r/mm/discontig.c (zone_sizes_init):
	Change free_area_init_node() interface.

	* arch/m32r/mm/init.c: ditto.
Signed-off-by: default avatarHirokazu Takata <takata@linux-m32r.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 646a3df8
......@@ -152,7 +152,7 @@ unsigned long __init zone_sizes_init(void)
zholes_size[ZONE_DMA] = mp->holes;
holes += zholes_size[ZONE_DMA];
free_area_init_node(nid, NODE_DATA(nid), NULL, zones_size,
free_area_init_node(nid, NODE_DATA(nid), zones_size,
start_pfn, zholes_size);
}
......
......@@ -120,8 +120,7 @@ unsigned long __init zone_sizes_init(void)
start_pfn = __MEMORY_START >> PAGE_SHIFT;
#endif /* CONFIG_MMU */
free_area_init_node(0, NODE_DATA(0), 0, zones_size,
start_pfn, 0);
free_area_init_node(0, NODE_DATA(0), zones_size, start_pfn, 0);
mem_map = contig_page_data.node_mem_map;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment