summaryrefslogtreecommitdiffstats
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-08-22 23:19:43 +0900
committerTejun Heo <tj@kernel.org>2010-08-23 11:37:49 +0200
commit972fa1c5316d18c8297123e08e9b6930ca34f888 (patch)
treeb96c34cb7ac493a80d959db6b361d2e87e854e06 /include/linux/workqueue.h
parent06bd6ebffae36d3b105677598c48e8bd0a10b205 (diff)
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 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions