]> asedeno.scripts.mit.edu Git - linux.git/commit
mips: ip22/32: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Tue, 10 Oct 2017 04:42:26 +0000 (21:42 -0700)
committerKees Cook <keescook@chromium.org>
Thu, 2 Nov 2017 22:50:36 +0000 (15:50 -0700)
commita66b899dfbb51201e6ee176d77f27885dc362fc6
treeacb3333ccf280c8618b5f38cbf950e33582cd18b
parent96d130824f6f965418c2c36061842c354ab60178
mips: ip22/32: Convert timers to use timer_setup()

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. Adds a static variable to hold timeout
value.

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-mips@linux-mips.org
Signed-off-by: Kees Cook <keescook@chromium.org>
arch/mips/sgi-ip22/ip22-reset.c
arch/mips/sgi-ip32/ip32-reset.c