patch-2.1.127 linux/drivers/char/stallion.c
Next file: linux/drivers/char/tpqic02.c
Previous file: linux/drivers/char/specialix_io8.h
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/stallion.c
- Orig date:
Fri Oct 23 22:01:21 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/char/stallion.c linux/drivers/char/stallion.c
@@ -1072,8 +1072,7 @@
#endif
if (len > 0) {
current->state = TASK_INTERRUPTIBLE;
- current->timeout = jiffies + len;
- schedule();
+ schedule_timeout(len);
current->state = TASK_RUNNING;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov