summaryrefslogtreecommitdiffstats
path: root/drivers/net/tehuti.h
diff options
context:
space:
mode:
authorTakashi YOSHII <takashi.yoshii.zj@renesas.com>2010-12-17 08:25:09 +0100
committerPaul Mundt <lethal@linux-sh.org>2010-12-17 11:38:33 +0100
commit65ada547d68dc075aa06df92fe325bff07cbc606 (patch)
tree8c8ab2cc7814d6f85f6cb3a4b40e5165e5a0a7ad /drivers/net/tehuti.h
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus (diff)
downloadlinux-65ada547d68dc075aa06df92fe325bff07cbc606.tar.xz
linux-65ada547d68dc075aa06df92fe325bff07cbc606.zip
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>
Diffstat (limited to 'drivers/net/tehuti.h')
0 files changed, 0 insertions, 0 deletions