sh: rework clocksource and sched_clock
authorMagnus Damm <damm@igel.co.jp>
Thu, 22 Jan 2009 09:55:31 +0000 (09:55 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 29 Jan 2009 07:44:17 +0000 (16:44 +0900)
commit955c0778723501cc16fec40501cd54b7e72d3e74
tree5e97004d7d5e3cb990e385beb045664e26f20a48
parentdc66ff6220f0a6c938df41add526d645852d9a75
sh: rework clocksource and sched_clock

Rework and simplify the sched_clock and clocksource code. Instead
of registering the clocksource in a shared file we move it into the
tmu driver. Also, add code to handle sched_clock in the case of no
clocksource.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/timer.h
arch/sh/kernel/time_32.c
arch/sh/kernel/timers/timer-tmu.c