Commit 01bab536 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Ingo Molnar

timers, drivers/tty/metag_da: Initialize the poll timer as pinned

Pinned timers must carry the pinned attribute in the timer structure
itself, so convert the code to the new API.

No functional change.
Signed-off-by: default avatarThomas Gleixner <>
Reviewed-by: default avatarFrederic Weisbecker <>
Cc: Arjan van de Ven <>
Cc: Chris Mason <>
Cc: Eric Dumazet <>
Cc: George Spelvin <>
Cc: Josh Triplett <>
Cc: Len Brown <>
Cc: Linus Torvalds <>
Cc: Paul E. McKenney <>
Cc: Peter Zijlstra <>
Cc: Rik van Riel <>
Link: default avatarIngo Molnar <>
parent 25df5760
......@@ -323,12 +323,12 @@ static void dashtty_timer(unsigned long ignored)
if (channel >= 0)
mod_timer_pinned(&poll_timer, jiffies + DA_TTY_POLL);
mod_timer(&poll_timer, jiffies + DA_TTY_POLL);
static void add_poll_timer(struct timer_list *poll_timer)
setup_timer(poll_timer, dashtty_timer, 0);
setup_pinned_timer(poll_timer, dashtty_timer, 0);
poll_timer->expires = jiffies + DA_TTY_POLL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment