patch-2.0.30 linux/drivers/char/lp.c
Next file: linux/drivers/char/random.c
Previous file: linux/drivers/char/Config.in
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Apr 3 19:15:34 1997
- Orig file:
v2.0.29/linux/drivers/char/lp.c
- Orig date:
Tue Jul 2 09:08:41 1996
diff -u --recursive --new-file v2.0.29/linux/drivers/char/lp.c linux/drivers/char/lp.c
@@ -116,6 +116,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