]> git.baikalelectronics.ru Git - kernel.git/commit
workqueue: Convert timers to use timer_setup() (part 2)
authorKees Cook <keescook@chromium.org>
Mon, 16 Oct 2017 22:58:25 +0000 (15:58 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 18 Oct 2017 15:04:25 +0000 (17:04 +0200)
commit32a6c7233c41216f5dd41fc7bf100eedb1063dfc
tree188c87d2527c73807c330e65e2702f01ed149d76
parentc310ce4dcb9df9b2f1be82caff7dae609fe53f72
workqueue: Convert timers to use timer_setup() (part 2)

In preparation for unconditionally passing the struct timer_list pointer
to all timer callbacks, switch to using the new timer_setup() and
from_timer() to pass the timer pointer explicitly. (The prior workqueue
patch missed a few timers.)

Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Link: https://lkml.kernel.org/r/20171016225825.GA99101@beast
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/workqueue.c