patch-2.1.110 linux/drivers/char/tty_io.c

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

diff -u --recursive --new-file v2.1.109/linux/drivers/char/tty_io.c linux/drivers/char/tty_io.c
@@ -633,7 +633,7 @@
 		ret = -ERESTARTSYS;
 		if (signal_pending(current))
 			break;
-		if (need_resched)
+		if (current->need_resched)
 			schedule();
 	}
 	if (written) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov