Skip to content

Commit

Permalink
m68k: ColdFire with MMU enabled uses same clocking code as non-MMU
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer committed Dec 30, 2011
1 parent 3731454 commit 4a13c6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/m68k/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion arch/m68k/kernel/time.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef CONFIG_MMU
#if defined(CONFIG_MMU) && !defined(CONFIG_COLDFIRE)
#include "time_mm.c"
#else
#include "time_no.c"
Expand Down

0 comments on commit 4a13c6d

Please sign in to comment.