diff options
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r-- | kernel/workqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 4fa6c7650f09..2d278b9a5469 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -2247,7 +2247,7 @@ sleep: | |||
2247 | * event. | 2247 | * event. |
2248 | */ | 2248 | */ |
2249 | worker_enter_idle(worker); | 2249 | worker_enter_idle(worker); |
2250 | __set_current_state(TASK_INTERRUPTIBLE); | 2250 | __set_current_state(TASK_IDLE); |
2251 | spin_unlock_irq(&pool->lock); | 2251 | spin_unlock_irq(&pool->lock); |
2252 | schedule(); | 2252 | schedule(); |
2253 | goto woke_up; | 2253 | goto woke_up; |
@@ -2289,7 +2289,7 @@ static int rescuer_thread(void *__rescuer) | |||
2289 | */ | 2289 | */ |
2290 | rescuer->task->flags |= PF_WQ_WORKER; | 2290 | rescuer->task->flags |= PF_WQ_WORKER; |
2291 | repeat: | 2291 | repeat: |
2292 | set_current_state(TASK_INTERRUPTIBLE); | 2292 | set_current_state(TASK_IDLE); |
2293 | 2293 | ||
2294 | /* | 2294 | /* |
2295 | * By the time the rescuer is requested to stop, the workqueue | 2295 | * By the time the rescuer is requested to stop, the workqueue |