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
- Lines: 9
- Date:
Thu Apr 3 19:15:44 1997
- Orig file:
v2.1.31/linux/drivers/char/lp.c
- Orig date:
Fri Apr 4 08:52:19 1997
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