sched/core: Get rid of 'cpu' argument in wq_worker_sleeping()
authorAlexander Gordeev <agordeev@redhat.com>
Wed, 2 Mar 2016 11:53:31 +0000 (12:53 +0100)
committerTejun Heo <tj@kernel.org>
Wed, 2 Mar 2016 15:28:47 +0000 (10:28 -0500)
commit9b7f6597f013d449d6700d11820faf91ee0ec985
tree0d5ec5620940bfcdfecade4ff0c49944a1f7ff5f
parent23217b443b4b0439c8b55d3be0482d3cd7fbc5ac
sched/core: Get rid of 'cpu' argument in wq_worker_sleeping()

Given that wq_worker_sleeping() could only be called for a
CPU it is running on, we do not need passing a CPU ID as an
argument.

Suggested-by: Oleg Nesterov <oleg@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/core.c
kernel/workqueue.c
kernel/workqueue_internal.h