patch-2.1.127 linux/drivers/char/epca.c
Next file: linux/drivers/char/esp.c
Previous file: linux/drivers/char/dsp56k.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sat Oct 31 11:05:53 1998
- Orig file:
v2.1.126/linux/drivers/char/epca.c
- Orig date:
Sun Jun 7 11:16:29 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/char/epca.c linux/drivers/char/epca.c
@@ -647,8 +647,7 @@
if (ch->close_delay)
{
current->state = TASK_INTERRUPTIBLE;
- current->timeout = jiffies + ch->close_delay;
- schedule();
+ schedule_timeout(ch->close_delay);
}
wake_up_interruptible(&ch->open_wait);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov