Re: Question about TTY_DO_WRITE_WAKEUP

From: Alan Cox
Date: Thu Nov 20 2008 - 11:59:17 EST


A quick further look suggests you need to add

if (tty->fasync && (b - buf) != nr)
set_bit(TTY_DO_WRITE_WAKEUP, &tty->flags);

at the bottom of n_tty_write just before the return statement.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/