]> git.baikalelectronics.ru Git - kernel.git/commit
timer: Pass timer_list pointer to callbacks unconditionally
authorKees Cook <keescook@chromium.org>
Mon, 23 Oct 2017 01:18:19 +0000 (18:18 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 21 Nov 2017 23:57:12 +0000 (15:57 -0800)
commitc1eba5bcb6430868427e0b9d1cd1205a07302f06
tree1bddfc4131bcc5281e31bd6bd33a7fc9e41ad36e
parent9477b4ad7019ad423cc88a6b83fa717a5d8d9857
timer: Pass timer_list pointer to callbacks unconditionally

Now that all timer callbacks are already taking their struct timer_list
pointer as the callback argument, just do this unconditionally and remove
the .data field.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
include/linux/timer.h
kernel/time/timer.c