Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a13c6dc authored by Greg Ungerer's avatar Greg Ungerer
Browse files

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: default avatarGreg Ungerer <gerg@uclinux.org>
Acked-by: default avatarMatt Waddel <mwaddel@yahoo.com>
Acked-by: default avatarKurt Mahan <kmahan@xmission.com>
Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 37314540
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
#ifdef CONFIG_MMU
#if defined(CONFIG_MMU) && !defined(CONFIG_COLDFIRE)
#include "time_mm.c"
#else
#include "time_no.c"