diff options
-rw-r--r-- | kernel/workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index b5d722548ffd..4f5c61f8b0e7 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -3413,7 +3413,7 @@ void workqueue_set_max_active(struct workqueue_struct *wq, int max_active) | |||
3413 | 3413 | ||
3414 | if (!(wq->flags & WQ_FREEZABLE) || | 3414 | if (!(wq->flags & WQ_FREEZABLE) || |
3415 | !(gcwq->flags & GCWQ_FREEZING)) | 3415 | !(gcwq->flags & GCWQ_FREEZING)) |
3416 | get_cwq(gcwq->cpu, wq)->max_active = max_active; | 3416 | cwq_set_max_active(get_cwq(gcwq->cpu, wq), max_active); |
3417 | 3417 | ||
3418 | spin_unlock_irq(&gcwq->lock); | 3418 | spin_unlock_irq(&gcwq->lock); |
3419 | } | 3419 | } |