diff options
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r-- | kernel/workqueue.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 072cbc9b175d..54a8fff43479 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -3208,9 +3208,8 @@ static int init_worker_pool(struct worker_pool *pool) | |||
3208 | INIT_LIST_HEAD(&pool->idle_list); | 3208 | INIT_LIST_HEAD(&pool->idle_list); |
3209 | hash_init(pool->busy_hash); | 3209 | hash_init(pool->busy_hash); |
3210 | 3210 | ||
3211 | init_timer_deferrable(&pool->idle_timer); | 3211 | setup_deferrable_timer(&pool->idle_timer, idle_worker_timeout, |
3212 | pool->idle_timer.function = idle_worker_timeout; | 3212 | (unsigned long)pool); |
3213 | pool->idle_timer.data = (unsigned long)pool; | ||
3214 | 3213 | ||
3215 | setup_timer(&pool->mayday_timer, pool_mayday_timeout, | 3214 | setup_timer(&pool->mayday_timer, pool_mayday_timeout, |
3216 | (unsigned long)pool); | 3215 | (unsigned long)pool); |