Skip to content
  • Kees Cook's avatar
    ia64: Convert timers to use timer_setup() · 2c513d4f
    Kees Cook authored
    
    
    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.
    
    One less trivial change was removing the repeated casting for callers
    of bte_error_handler() by fixing its function declaration and adding a
    small wrapper for the timer callback instead.
    
    Cc: Tony Luck <tony.luck@intel.com>
    Cc: Fenghua Yu <fenghua.yu@intel.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Joe Perches <joe@perches.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Cc: linux-ia64@vger.kernel.org
    Signed-off-by: default avatarKees Cook <keescook@chromium.org>
    2c513d4f