patch-2.0.9 linux/drivers/char/mem.c
Next file: linux/drivers/char/psaux.c
Previous file: linux/drivers/char/keyboard.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Jul 25 16:52:13 1996
- Orig file:
v2.0.8/linux/drivers/char/mem.c
- Orig date:
Wed Jul 3 22:05:08 1996
diff -u --recursive --new-file v2.0.8/linux/drivers/char/mem.c linux/drivers/char/mem.c
@@ -176,6 +176,8 @@
for (left = count; left > 0; left--) {
put_user(0,buf);
buf++;
+ if (need_resched)
+ schedule();
}
return count;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov