patch-2.1.127 linux/drivers/block/paride/pg.c

Next file: linux/drivers/block/paride/pt.c
Previous file: linux/drivers/block/paride/pf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/drivers/block/paride/pg.c linux/drivers/block/paride/pg.c
@@ -357,8 +357,7 @@
 static void pg_sleep( int cs )
 
 {       current->state = TASK_INTERRUPTIBLE;
-	current->timeout = jiffies + cs;
-	schedule();
+	schedule_timeout(cs);
 }
 
 static int pg_wait( int unit, int go, int stop, int tmo, char * msg )

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov