patch-2.4.13 linux/drivers/usb/uss720.c

Next file: linux/drivers/video/Config.in
Previous file: linux/drivers/usb/usbnet.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.12/linux/drivers/usb/uss720.c linux/drivers/usb/uss720.c
@@ -159,7 +159,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)