patch-2.1.32 linux/drivers/char/lp.c

Next file: linux/drivers/char/vga.c
Previous file: linux/drivers/block/ide-cd.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.31/linux/drivers/char/lp.c linux/drivers/char/lp.c
@@ -117,6 +117,8 @@
 	struct lp_stats *stats;
 
 	do {
+	    if(need_resched)
+		schedule();
 	    if ((status = LP_S(minor)) & LP_PBUSY) {
 		if (!LP_CAREFUL_READY(minor, status))
 			return 0;

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