aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/workqueue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 7415f27a8aa7..cc3456f96c56 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -1212,6 +1212,7 @@ static void worker_leave_idle(struct worker *worker)
1212 * bound), %false if offline. 1212 * bound), %false if offline.
1213 */ 1213 */
1214static bool worker_maybe_bind_and_lock(struct worker *worker) 1214static bool worker_maybe_bind_and_lock(struct worker *worker)
1215__acquires(&gcwq->lock)
1215{ 1216{
1216 struct global_cwq *gcwq = worker->gcwq; 1217 struct global_cwq *gcwq = worker->gcwq;
1217 struct task_struct *task = worker->task; 1218 struct task_struct *task = worker->task;