aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/m68k/mm/init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/m68k/mm/init.c b/arch/m68k/mm/init.c
index 397a8848f067..6e0a93869ec9 100644
--- a/arch/m68k/mm/init.c
+++ b/arch/m68k/mm/init.c
@@ -148,12 +148,10 @@ void __init print_memmap(void)
148 148
149void __init mem_init(void) 149void __init mem_init(void)
150{ 150{
151 pg_data_t *pgdat;
152 int i; 151 int i;
153 152
154 /* this will put all memory onto the freelists */ 153 /* this will put all memory onto the freelists */
155 for_each_online_pgdat(pgdat) 154 free_all_bootmem();
156 free_all_bootmem_node(pgdat);
157 155
158#if defined(CONFIG_MMU) && !defined(CONFIG_SUN3) && !defined(CONFIG_COLDFIRE) 156#if defined(CONFIG_MMU) && !defined(CONFIG_SUN3) && !defined(CONFIG_COLDFIRE)
159 /* insert pointer tables allocated so far into the tablelist */ 157 /* insert pointer tables allocated so far into the tablelist */