Commit 9e1d1d8e authored by Sven Schnelle's avatar Sven Schnelle Committed by Heiko Carstens

s390/con3270: use msecs_to_jiffies()

Use msecs_to_jiffies() instead of HZ/10.
Signed-off-by: default avatarSven Schnelle <svens@linux.ibm.com>
Acked-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent f8674930
...@@ -1769,7 +1769,7 @@ static void tty3270_do_write(struct tty3270 *tp, struct tty_struct *tty, ...@@ -1769,7 +1769,7 @@ static void tty3270_do_write(struct tty3270 *tp, struct tty_struct *tty,
} }
/* Setup timer to update display after 1/10 second */ /* Setup timer to update display after 1/10 second */
if (!timer_pending(&tp->timer)) if (!timer_pending(&tp->timer))
tty3270_set_timer(tp, HZ/10); tty3270_set_timer(tp, msecs_to_jiffies(100));
spin_unlock_irq(&tp->view.lock); spin_unlock_irq(&tp->view.lock);
} }
......
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