summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_event_perf.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-10-27 15:34:06 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-27 18:03:12 -0700
commitb8ed374e202e23caaf9bd77dcadc9de6447faaa8 (patch)
treeea97fe186c7e0c0ee8cd61e0fc94dc42f635fd3b /kernel/trace/trace_event_perf.c
parent5ef45079dd9c8f2e9c7aa788dc3121835ae52863 (diff)
downloadtalos-op-linux-b8ed374e202e23caaf9bd77dcadc9de6447faaa8.tar.gz
talos-op-linux-b8ed374e202e23caaf9bd77dcadc9de6447faaa8.zip
signals: annotate lock_task_sighand()
lock_task_sighand() grabs sighand->siglock in case of returning non-NULL but unlock_task_sighand() releases it unconditionally. This leads sparse to complain about the lock context imbalance. Rename and wrap lock_task_sighand() using __cond_lock() macro to make sparse happy. Suggested-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/trace/trace_event_perf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud