]> git.karo-electronics.de Git - linux-beck.git/commitdiff
m68k: add ColdFire with MMU enabled support to the m68k mem init code
authorGreg Ungerer <gerg@uclinux.org>
Wed, 19 Oct 2011 10:17:46 +0000 (20:17 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Fri, 30 Dec 2011 00:20:48 +0000 (10:20 +1000)
The ColdFire has similar setup requirements to the SUN3 code, so we
use that.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Matt Waddel <mwaddel@yahoo.com>
Acked-by: Kurt Mahan <kmahan@xmission.com>
arch/m68k/mm/init_mm.c

index 85c5f0eee9ffabd182ea1d61fcb8d6d8da8fe4de..89f3b203814b5cc4cf51038429271cb4c27df408 100644 (file)
@@ -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++) {