]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/workqueue.c
workqueue: mark lock acquisition on worker_maybe_bind_and_lock()
[net-next-2.6.git] / kernel / workqueue.c
index 7415f27a8aa73a69c0c325d62412d521b012b1ec..cc3456f96c56ab5816bfc5e4a367db7d3f8a40d9 100644 (file)
@@ -1212,6 +1212,7 @@ static void worker_leave_idle(struct worker *worker)
  * bound), %false if offline.
  */
 static bool worker_maybe_bind_and_lock(struct worker *worker)
+__acquires(&gcwq->lock)
 {
        struct global_cwq *gcwq = worker->gcwq;
        struct task_struct *task = worker->task;