diff options
author | Greg Ungerer <gerg@uclinux.org> | 2012-01-23 00:34:58 -0500 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2012-03-04 18:43:04 -0500 |
commit | 35aefb2645d1ae7576699b2d7b66d6c9503113fc (patch) | |
tree | d2976ce7f95983751e42c33bcb61923a120aa072 /arch/m68k/platform/5249/config.c | |
parent | 9517746131f62294ddd922bcd288415be5104c23 (diff) |
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/5249/config.c')
-rw-r--r-- | arch/m68k/platform/5249/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/platform/5249/config.c b/arch/m68k/platform/5249/config.c index ceb31e5744a6..50e2d8f23251 100644 --- a/arch/m68k/platform/5249/config.c +++ b/arch/m68k/platform/5249/config.c | |||
@@ -307,6 +307,7 @@ void m5249_cpu_reset(void) | |||
307 | void __init config_BSP(char *commandp, int size) | 307 | void __init config_BSP(char *commandp, int size) |
308 | { | 308 | { |
309 | mach_reset = m5249_cpu_reset; | 309 | mach_reset = m5249_cpu_reset; |
310 | mach_sched_init = hw_timer_init; | ||
310 | m5249_timers_init(); | 311 | m5249_timers_init(); |
311 | m5249_uarts_init(); | 312 | m5249_uarts_init(); |
312 | #ifdef CONFIG_M5249C3 | 313 | #ifdef CONFIG_M5249C3 |