m68k: ColdFire with MMU enabled uses same clocking code as non-MMU
authorGreg Ungerer <gerg@uclinux.org>
Wed, 19 Oct 2011 03:24:24 +0000 (13:24 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Fri, 30 Dec 2011 00:20:43 +0000 (10:20 +1000)
We want to use the same timer support code for ColdFire CPU's when
running with MMU enabled or not. So use the same time_no.c code even
when the MMU is enabled for ColdFire. This also means we do not want
CONFIG_ARCH_USES_GETTIMEOFFSET set, since that code is only in time_mm.c.

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

index 330eb88108e7fd44702323bbbf0cdf7ff0093ed3..81fdaa72c540e4315c2d9872d75ff0f4e17afba5 100644 (file)
@@ -48,7 +48,7 @@ config TIME_LOW_RES
        default y
 
 config ARCH_USES_GETTIMEOFFSET
-       def_bool MMU
+       def_bool MMU && !COLDFIRE
 
 config NO_IOPORT
        def_bool y
index a5cf40c26de58abc6c89caa9d800e51ed0095c07..75ab79b3bdeb76b7439f0337c30634115c7d7125 100644 (file)
@@ -1,4 +1,4 @@
-#ifdef CONFIG_MMU
+#if defined(CONFIG_MMU) && !defined(CONFIG_COLDFIRE)
 #include "time_mm.c"
 #else
 #include "time_no.c"
This page took 0.027179 seconds and 5 git commands to generate.