linux_old1/drivers/clocksource
Aurelien Jarno 66f49121ff clocksource: sh_tmu: compute mult and shift before registration
Since commit 98962465ed ("nohz: Prevent
clocksource wrapping during idle"), the CPU of an R2D board never goes
to idle. This commit assumes that mult and shift are assigned before
the clocksource is registered. As a consequence the safe maximum sleep
time is negative and the CPU never goes into idle.

This patch fixes the problem by moving mult and shift initialization
from sh_tmu_clocksource_enable() to sh_tmu_register_clocksource().

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Cc: stable@kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-06-02 17:02:35 +09:00
..
Makefile cs5535: add a generic clock event MFGPT driver 2009-12-15 08:53:28 -08:00
acpi_pm.c time: move PIT_TICK_RATE to linux/timex.h 2009-06-16 19:47:27 -07:00
cs5535-clockevt.c cs5535-clockevt: Free timer in IRQ setup error path 2010-03-12 22:52:00 +01:00
cyclone.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
scx200_hrt.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
sh_cmt.c Merge branch 'sh/stable-updates' 2010-04-26 16:08:27 +09:00
sh_mtu2.c Merge branch 'sh/stable-updates' 2010-04-26 16:08:27 +09:00
sh_tmu.c clocksource: sh_tmu: compute mult and shift before registration 2010-06-02 17:02:35 +09:00
tcb_clksrc.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00