diff options
author | Greg Ungerer <gerg@uclinux.org> | 2012-01-23 06:34:58 +0100 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2012-03-05 00:43:04 +0100 |
commit | 35aefb2645d1ae7576699b2d7b66d6c9503113fc (patch) | |
tree | d2976ce7f95983751e42c33bcb61923a120aa072 /arch/m68k/include/asm/machdep.h | |
parent | m68knommu: make persistent clock code consistent with m68k (diff) | |
download | linux-35aefb2645d1ae7576699b2d7b66d6c9503113fc.tar.xz 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/include/asm/machdep.h')
-rw-r--r-- | arch/m68k/include/asm/machdep.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/m68k/include/asm/machdep.h b/arch/m68k/include/asm/machdep.h index 3bfa7df35729..825c1c813196 100644 --- a/arch/m68k/include/asm/machdep.h +++ b/arch/m68k/include/asm/machdep.h @@ -33,9 +33,8 @@ extern void (*mach_l2_flush) (int); extern void (*mach_beep) (unsigned int, unsigned int); /* Hardware clock functions */ -extern void hw_timer_init(void); +extern void hw_timer_init(irq_handler_t handler); extern unsigned long hw_timer_offset(void); -extern irqreturn_t arch_timer_interrupt(int irq, void *dummy); extern void config_BSP(char *command, int len); |