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

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

diff -u --recursive --new-file v2.1.109/linux/drivers/char/lp_m68k.c linux/drivers/char/lp_m68k.c
@@ -102,7 +102,7 @@
 
 	do {
 		count ++;
-		if(need_resched)
+		if (current->need_resched)
 			schedule();
 	} while (lp_table[dev]->lp_is_busy(dev) && count < lp_table[dev]->chars);
 

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