patch-2.1.127 linux/drivers/char/pcxx.c
Next file: linux/drivers/char/qpmouse.c
Previous file: linux/drivers/char/pc_keyb.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Nov 5 09:58:43 1998
- Orig file:
v2.1.126/linux/drivers/char/pcxx.c
- Orig date:
Sun Jun 7 11:16:30 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/char/pcxx.c linux/drivers/char/pcxx.c
@@ -633,8 +633,7 @@
if(info->blocked_open) {
if(info->close_delay) {
current->state = TASK_INTERRUPTIBLE;
- current->timeout = jiffies + info->close_delay;
- schedule();
+ schedule_timeout(info->close_delay);
}
wake_up_interruptible(&info->open_wait);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov