patch-2.3.27 linux/drivers/parport/parport_pc.c

Next file: linux/drivers/pci/Makefile
Previous file: linux/drivers/parport/init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/parport/parport_pc.c linux/drivers/parport/parport_pc.c
@@ -122,7 +122,7 @@
 				if (time_after_eq (jiffies, expire))
 					/* The FIFO is stuck. */
 					return -EBUSY;
-				current->state = TASK_INTERRUPTIBLE;
+				__set_current_state (TASK_INTERRUPTIBLE);
 				schedule_timeout ((HZ + 99) / 100);
 				if (signal_pending (current))
 					break;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)