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

Next file: linux/drivers/char/esp.c
Previous file: linux/drivers/char/dsp56k.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/drivers/char/epca.c linux/drivers/char/epca.c
@@ -647,8 +647,7 @@
 			if (ch->close_delay) 
 			{
 				current->state = TASK_INTERRUPTIBLE;
-				current->timeout = jiffies + ch->close_delay;
-				schedule();
+				schedule_timeout(ch->close_delay);
 			}
 
 			wake_up_interruptible(&ch->open_wait);

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