]> git.karo-electronics.de Git - linux-beck.git/commitdiff
m68k: use non-MMU entry.S code when compiling for ColdFire CPU
authorGreg Ungerer <gerg@uclinux.org>
Tue, 18 Oct 2011 06:55:35 +0000 (16:55 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Fri, 30 Dec 2011 00:20:41 +0000 (10:20 +1000)
No matter whether we are configured for non-MMU or MMU enabled if we are
compiling for ColdFire CPU we always use the entry_no.S code.

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/kernel/entry.S

index 081cf96f243b01ee4cbea14b415f7364c08fd0fe..b8daf64e347de81443488a007658ac057f17f56e 100644 (file)
@@ -1,4 +1,4 @@
-#ifdef CONFIG_MMU
+#if defined(CONFIG_MMU) && !defined(CONFIG_COLDFIRE)
 #include "entry_mm.S"
 #else
 #include "entry_no.S"