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

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

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

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