diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-03-24 13:44:47 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-03-24 13:44:47 +1100 |
commit | 93fcc3d0580d9024b1f50bdbed128642d6883bea (patch) | |
tree | 99259fe64e7f6ac0b960254027683f695fea814a | |
parent | 28af57d821b1fe4bfeb0803b1ba3508cc08b37c1 (diff) | |
parent | bacb71fc9187f288e98c3132e87f36c0362318df (diff) |
Merge remote-tracking branch 'workqueues/for-next'
-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 c0168b7da1ea..bbf46da28e9a 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -3209,9 +3209,8 @@ static int init_worker_pool(struct worker_pool *pool) INIT_LIST_HEAD(&pool->idle_list); hash_init(pool->busy_hash); - init_timer_deferrable(&pool->idle_timer); - pool->idle_timer.function = idle_worker_timeout; - pool->idle_timer.data = (unsigned long)pool; + setup_deferrable_timer(&pool->idle_timer, idle_worker_timeout, + (unsigned long)pool); setup_timer(&pool->mayday_timer, pool_mayday_timeout, (unsigned long)pool); |