patch-2.1.127 linux/drivers/cdrom/sbpcd.c

Next file: linux/drivers/cdrom/sonycd535.c
Previous file: linux/drivers/cdrom/mcdx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/drivers/cdrom/sbpcd.c linux/drivers/cdrom/sbpcd.c
@@ -843,8 +843,7 @@
 {
 	sti();
 	current->state = TASK_INTERRUPTIBLE;
-	current->timeout = jiffies + time;
-	schedule();
+	schedule_timeout(time);
 	sti();
 }
 /*==========================================================================*/

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