m68knommu: modify timer init code to make it consistent with m68k code
authorGreg Ungerer <gerg@uclinux.org>
Mon, 23 Jan 2012 05:34:58 +0000 (15:34 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 4 Mar 2012 23:43:04 +0000 (09:43 +1000)
commit35aefb2645d1ae7576699b2d7b66d6c9503113fc
treed2976ce7f95983751e42c33bcb61923a120aa072
parent9517746131f62294ddd922bcd288415be5104c23
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>
17 files changed:
arch/m68k/include/asm/machdep.h
arch/m68k/kernel/setup_no.c
arch/m68k/kernel/time_no.c
arch/m68k/platform/5206/config.c
arch/m68k/platform/520x/config.c
arch/m68k/platform/523x/config.c
arch/m68k/platform/5249/config.c
arch/m68k/platform/5272/config.c
arch/m68k/platform/527x/config.c
arch/m68k/platform/528x/config.c
arch/m68k/platform/5307/config.c
arch/m68k/platform/532x/config.c
arch/m68k/platform/5407/config.c
arch/m68k/platform/54xx/config.c
arch/m68k/platform/coldfire/pit.c
arch/m68k/platform/coldfire/sltimers.c
arch/m68k/platform/coldfire/timers.c
This page took 0.029413 seconds and 5 git commands to generate.