From: Greg Ungerer Date: Wed, 19 Oct 2011 10:17:46 +0000 (+1000) Subject: m68k: add ColdFire with MMU enabled support to the m68k mem init code X-Git-Tag: v3.3-rc1~180^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fbe3364ac4fa82caa585f98e4a525946d2cc21f4;p=karo-tx-linux.git m68k: add ColdFire with MMU enabled support to the m68k mem init code The ColdFire has similar setup requirements to the SUN3 code, so we use that. Signed-off-by: Greg Ungerer Acked-by: Geert Uytterhoeven Acked-by: Matt Waddel Acked-by: Kurt Mahan --- diff --git a/arch/m68k/mm/init_mm.c b/arch/m68k/mm/init_mm.c index 85c5f0eee9ff..89f3b203814b 100644 --- a/arch/m68k/mm/init_mm.c +++ b/arch/m68k/mm/init_mm.c @@ -139,7 +139,7 @@ void __init mem_init(void) } } -#ifndef CONFIG_SUN3 +#if !defined(CONFIG_SUN3) && !defined(CONFIG_COLDFIRE) /* insert pointer tables allocated so far into the tablelist */ init_pointer_table((unsigned long)kernel_pg_dir); for (i = 0; i < PTRS_PER_PGD; i++) {