patch-2.1.127 linux/drivers/macintosh/mediabay.c

Next file: linux/drivers/misc/parport_ieee1284.c
Previous file: linux/drivers/macintosh/macserial.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/drivers/macintosh/mediabay.c linux/drivers/macintosh/mediabay.c
@@ -184,8 +184,7 @@
 
 		prev = media_bay_id;
 		current->state = TASK_INTERRUPTIBLE;
-		current->timeout = jiffies + 1;
-		schedule();
+		schedule_timeout(1);
 		if (signal_pending(current))
 			return 0;
 	}

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