patch-1.3.77 linux/drivers/char/console.c

Next file: linux/drivers/char/ftape/Makefile
Previous file: linux/drivers/cdrom/mcd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.76/linux/drivers/char/console.c linux/drivers/char/console.c
@@ -1383,8 +1383,10 @@
 
 	disable_bh(CONSOLE_BH);
 	while (!tty->stopped &&	count) {
+		enable_bh(CONSOLE_BH);
 		c = from_user ? get_user(buf) : *buf;
 		buf++; n++; count--;
+		disable_bh(CONSOLE_BH);
 
 		if (utf) {
 		    /* Combine UTF-8 into Unicode */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this