diff options
author | Takashi YOSHII <[email protected]> | 2010-12-17 07:25:09 +0000 |
---|---|---|
committer | Paul Mundt <[email protected]> | 2010-12-17 19:38:33 +0900 |
commit | 65ada547d68dc075aa06df92fe325bff07cbc606 (patch) | |
tree | 8c8ab2cc7814d6f85f6cb3a4b40e5165e5a0a7ad /tools/perf/util/trace-event-scripting.c | |
parent | b3444d164be8f977f4133ef0c6f4a18f2741373f (diff) |
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.
[[email protected]: use __sh_cmt_set_next() to simplify code]
[[email protected]: added stable, suitable for v2.6.35 + v2.6.36]
Cc: [email protected]
Signed-off-by: Takashi YOSHII <[email protected]>
Signed-off-by: Magnus Damm <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions