patch-2.1.127 linux/drivers/block/paride/pt.c
Next file: linux/drivers/block/swim3.c
Previous file: linux/drivers/block/paride/pg.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed Nov 4 10:05:12 1998
- Orig file:
v2.1.126/linux/drivers/block/paride/pt.c
- Orig date:
Mon Oct 5 13:13:38 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/block/paride/pt.c linux/drivers/block/paride/pt.c
@@ -464,8 +464,7 @@
static void pt_sleep( int cs )
{ current->state = TASK_INTERRUPTIBLE;
- current->timeout = jiffies + cs;
- schedule();
+ schedule_timeout(cs);
}
static int pt_poll_dsc( int unit, int pause, int tmo, char *msg )
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov