summaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-10-19 05:24:24 +0200
committerGreg Ungerer <gerg@uclinux.org>2011-12-30 01:20:43 +0100
commit4a13c6dc6443786b135c9e9b3f9dc87421cc1ae3 (patch)
tree46b74b6ac63dcce31a2a34e8f49541cb3b857895 /arch/m68k/kernel
parentm68k: add code to setup a ColdFire 54xx platform when MMU enabled (diff)
downloadlinux-4a13c6dc6443786b135c9e9b3f9dc87421cc1ae3.tar.xz
linux-4a13c6dc6443786b135c9e9b3f9dc87421cc1ae3.zip
m68k: ColdFire with MMU enabled uses same clocking code as non-MMU
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>
Diffstat (limited to 'arch/m68k/kernel')
-rw-r--r--arch/m68k/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/kernel/time.c b/arch/m68k/kernel/time.c
index a5cf40c26de5..75ab79b3bdeb 100644
--- a/arch/m68k/kernel/time.c
+++ b/arch/m68k/kernel/time.c
@@ -1,4 +1,4 @@
-#ifdef CONFIG_MMU
+#if defined(CONFIG_MMU) && !defined(CONFIG_COLDFIRE)
#include "time_mm.c"
#else
#include "time_no.c"