patch-2.1.127 linux/drivers/char/serial167.c
Next file: linux/drivers/char/specialix.c
Previous file: linux/drivers/char/serial.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/serial167.c
- Orig date:
Fri Oct 9 13:27:08 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/char/serial167.c linux/drivers/char/serial167.c
@@ -1952,8 +1952,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