diff options
author | 2010-08-22 23:19:43 +0900 | |
---|---|---|
committer | 2010-08-23 11:37:49 +0200 | |
commit | 972fa1c5316d18c8297123e08e9b6930ca34f888 (patch) | |
tree | b96c34cb7ac493a80d959db6b361d2e87e854e06 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | workqueue: annotate lock context change (diff) | |
download | linux-dev-972fa1c5316d18c8297123e08e9b6930ca34f888.tar.xz linux-dev-972fa1c5316d18c8297123e08e9b6930ca34f888.zip |
workqueue: mark lock acquisition on worker_maybe_bind_and_lock()
worker_maybe_bind_and_lock() actually grabs gcwq->lock but was missing proper
annotation. Add it. So this patch will remove following sparse warnings:
kernel/workqueue.c:1214:13: warning: context imbalance in 'worker_maybe_bind_and_lock' - wrong count at exit
arch/x86/include/asm/irqflags.h:44:9: warning: context imbalance in 'worker_rebind_fn' - unexpected unlock
kernel/workqueue.c:1991:17: warning: context imbalance in 'rescuer_thread' - unexpected unlock
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions