Commit 853f90d4 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Ingo Molnar

timers, drivers/tty/mips_ejtag: 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 01bab536
......@@ -689,7 +689,7 @@ static void mips_ejtag_fdc_tty_timer(unsigned long opaque)
if (!priv->removing)
mod_timer_pinned(&priv->poll_timer, jiffies + FDC_TTY_POLL);
mod_timer(&priv->poll_timer, jiffies + FDC_TTY_POLL);
/* TTY Port operations */
......@@ -1002,7 +1002,7 @@ static int mips_ejtag_fdc_tty_probe(struct mips_cdmm_device *dev)
} else {
/* If we didn't get an usable IRQ, poll instead */
setup_timer(&priv->poll_timer, mips_ejtag_fdc_tty_timer,
setup_pinned_timer(&priv->poll_timer, mips_ejtag_fdc_tty_timer,
(unsigned long)priv);
priv->poll_timer.expires = jiffies + FDC_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