linux-stable/drivers/clocksource
Takashi YOSHII 65ada547d6 clocksource: sh_cmt: Remove nested spinlock fix
There are control flow that sh_cmt_set_next() does double
spin-lock. The callers sh_cmt_{start,stop}() already have
lock. But another callers sh_cmt_clock_event_{start,next}()
does not.

Now sh_cmt_set_next() does not lock by itself. All the
callers should hold spin-lock before calling it.

[damm@opensource.se: use __sh_cmt_set_next() to simplify code]
[damm@opensource.se: added stable, suitable for v2.6.35 + v2.6.36]
Cc: stable@kernel.org
Signed-off-by: Takashi YOSHII <takashi.yoshii.zj@renesas.com>
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-12-17 19:38:33 +09:00
..
acpi_pm.c x86: Convert common clocksources to use clocksource_register_hz/khz 2010-07-27 12:40:55 +02:00
cs5535-clockevt.c Andres has moved 2010-07-20 16:25:41 -07:00
cyclone.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
Makefile cs5535: add a generic clock event MFGPT driver 2009-12-15 08:53:28 -08:00
scx200_hrt.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
sh_cmt.c clocksource: sh_cmt: Remove nested spinlock fix 2010-12-17 19:38:33 +09:00
sh_mtu2.c ARM: shmobile: remove sh_timer_config clk member 2010-10-31 10:40:39 -04:00
sh_tmu.c ARM: shmobile: remove sh_timer_config clk member 2010-10-31 10:40:39 -04:00
tcb_clksrc.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00