patch-2.2.15 linux/drivers/char/epca.c

Next file: linux/drivers/char/esp.c
Previous file: linux/drivers/char/dz.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/drivers/char/epca.c linux/drivers/char/epca.c
@@ -1225,6 +1225,7 @@
 	restore_flags(flags);
 
 	wake_up_interruptible(&tty->write_wait);
+	wake_up_interruptible(&tty->poll_wait);
 	if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && tty->ldisc.write_wakeup)
 		(tty->ldisc.write_wakeup)(tty);
 
@@ -2445,7 +2446,7 @@
 						  tty->ldisc.write_wakeup)
 						(tty->ldisc.write_wakeup)(tty);
 					wake_up_interruptible(&tty->write_wait);
-
+					wake_up_interruptible(&tty->poll_wait);
 				} /* End if LOWWAIT */
 
 			} /* End LOWTX_IND */
@@ -2465,6 +2466,7 @@
 						(tty->ldisc.write_wakeup)(tty);
 
 					wake_up_interruptible(&tty->write_wait);
+					wake_up_interruptible(&tty->poll_wait);
 
 				} /* End if EMPTYWAIT */
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)