sh: clockevent/clocksource/hrtimers/nohz TMU support.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 9 May 2007 08:33:24 +0000 (17:33 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 9 May 2007 08:33:24 +0000 (17:33 +0900)
commit57be2b484a417bffae66359b9b89e7239480b729
treed517f5b449b4f6b629790476082a4a7c478112bb
parent1ce7ddd5f4cc754b6afe9eec5cee89ede75348ea
sh: clockevent/clocksource/hrtimers/nohz TMU support.

This adds basic support for clockevents and clocksources,
presently only implemented for TMU-based systems (which
are the majority of SH-3 and SH-4 systems).

The old NO_IDLE_HZ implementation is also dropped completely,
the only users of this were on TMU-based systems anyways.

More work needs to be done to generalize the TMU handling,
in that the current implementation is rather tied to the
notion of TMU0 and TMU1 utilization.

Additionally, as more SH timers switch over to this scheme,
we'll be able to gut most of the remaining system timer
infrastructure that existed before.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
arch/sh/kernel/process.c
arch/sh/kernel/time.c
arch/sh/kernel/timers/timer-tmu.c
include/asm-sh/timer.h