summaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform/5206
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2012-01-23 15:34:58 +1000
committerGreg Ungerer <gerg@uclinux.org>2012-03-05 09:43:04 +1000
commit35aefb2645d1ae7576699b2d7b66d6c9503113fc (patch)
treed2976ce7f95983751e42c33bcb61923a120aa072 /arch/m68k/platform/5206
parent9517746131f62294ddd922bcd288415be5104c23 (diff)
downloadblackbird-op-linux-35aefb2645d1ae7576699b2d7b66d6c9503113fc.tar.gz
blackbird-op-linux-35aefb2645d1ae7576699b2d7b66d6c9503113fc.zip
m68knommu: modify timer init code to make it consistent with m68k code
With a few small changes we can make the m68knommu timer init code the same as the m68k code. By using the mach_sched_init function pointer and reworking the current timer initializers to keep track of the common m68k timer_interrupt() handler we end up with almost identical code for m68knommu. This will allow us to more easily merge the mmu and non-mmu m68k time.c in future patches. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/platform/5206')
-rw-r--r--arch/m68k/platform/5206/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/platform/5206/config.c b/arch/m68k/platform/5206/config.c
index 6fa3f800277a..7826b70b1741 100644
--- a/arch/m68k/platform/5206/config.c
+++ b/arch/m68k/platform/5206/config.c
@@ -105,6 +105,7 @@ void __init config_BSP(char *commandp, int size)
#endif /* CONFIG_NETtel */
mach_reset = m5206_cpu_reset;
+ mach_sched_init = hw_timer_init;
m5206_timers_init();
m5206_uarts_init();
OpenPOWER on IntegriCloud