Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b69a9787 authored by Jiang Liu's avatar Jiang Liu Committed by Linus Torvalds
Browse files

mm/m68k: prepare for killing free_all_bootmem_node()



Prepare for killing free_all_bootmem_node() by using free_all_bootmem().

Signed-off-by: default avatarJiang Liu <jiang.liu@huawei.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c5c009fb
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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 */