From: Jiang Liu Date: Wed, 3 Jul 2013 22:04:27 +0000 (-0700) Subject: mm/m68k: prepare for killing free_all_bootmem_node() X-Git-Tag: v3.11-rc1~99^2~286 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b69a9787b1dfb2e5055fb4e0fea71f9e16c7ea01;p=platform%2Fkernel%2Flinux-stable.git mm/m68k: prepare for killing free_all_bootmem_node() Prepare for killing free_all_bootmem_node() by using free_all_bootmem(). Signed-off-by: Jiang Liu Cc: Geert Uytterhoeven Cc: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/m68k/mm/init.c b/arch/m68k/mm/init.c index 397a884..6e0a938 100644 --- a/arch/m68k/mm/init.c +++ b/arch/m68k/mm/init.c @@ -148,12 +148,10 @@ void __init print_memmap(void) void __init mem_init(void) { - pg_data_t *pgdat; int i; /* this will put all memory onto the freelists */ - for_each_online_pgdat(pgdat) - free_all_bootmem_node(pgdat); + free_all_bootmem(); #if defined(CONFIG_MMU) && !defined(CONFIG_SUN3) && !defined(CONFIG_COLDFIRE) /* insert pointer tables allocated so far into the tablelist */