aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/workqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 0c485a538099..2eb9fbddf5c6 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -1832,10 +1832,10 @@ recheck:
1832 } while (keep_working(gcwq)); 1832 } while (keep_working(gcwq));
1833 1833
1834 worker_set_flags(worker, WORKER_PREP, false); 1834 worker_set_flags(worker, WORKER_PREP, false);
1835 1835sleep:
1836 if (unlikely(need_to_manage_workers(gcwq)) && manage_workers(worker)) 1836 if (unlikely(need_to_manage_workers(gcwq)) && manage_workers(worker))
1837 goto recheck; 1837 goto recheck;
1838sleep: 1838
1839 /* 1839 /*
1840 * gcwq->lock is held and there's no work to process and no 1840 * gcwq->lock is held and there's no work to process and no
1841 * need to manage, sleep. Workers are woken up only while 1841 * need to manage, sleep. Workers are woken up only while