]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite0fd14d812e4d769e396604a52fef055666767ed
treed517f5b449b4f6b629790476082a4a7c478112bb
parent5f38f07d668b25f9f15c8fe25640d58a49c90347
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