From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:01 -0500 Subject: serial: 8250: Call flush_to_ldisc when the irq is threaded Signed-off-by: Ingo Molnar --- drivers/tty/tty_buffer.c | 5 +++++ 1 file changed, 5 insertions(+) --- a/drivers/tty/tty_buffer.c +++ b/drivers/tty/tty_buffer.c @@ -566,10 +566,15 @@ void tty_flip_buffer_push(struct tty_str buf->tail->commit = buf->tail->used; spin_unlock_irqrestore(&buf->lock, flags); +#ifndef CONFIG_PREEMPT_RT_FULL if (tty->low_latency) flush_to_ldisc(&buf->work); else schedule_work(&buf->work); +#else + flush_to_ldisc(&buf->work); +#endif + } EXPORT_SYMBOL(tty_flip_buffer_push);