From: Takashi YOSHII Date: Fri, 17 Dec 2010 07:25:09 +0000 (+0000) Subject: clocksource: sh_cmt: Remove nested spinlock fix X-Git-Tag: v2.6.37-rc7~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65ada547d68dc075aa06df92fe325bff07cbc606;p=pandora-kernel.git 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 Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-diff-tree failed