patch-2.1.127 linux/drivers/char/stallion.c

Next file: linux/drivers/char/tpqic02.c
Previous file: linux/drivers/char/specialix_io8.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/drivers/char/stallion.c linux/drivers/char/stallion.c
@@ -1072,8 +1072,7 @@
 #endif
 	if (len > 0) {
 		current->state = TASK_INTERRUPTIBLE;
-		current->timeout = jiffies + len;
-		schedule();
+		schedule_timeout(len);
 		current->state = TASK_RUNNING;
 	}
 }

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