From 78c388aed2b7184182c08428db1de6c872d815f5 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 4 Jan 1999 16:03:48 +0000 Subject: Merge with Linux 2.1.131 and more MIPS goodies. (Did I mention that CVS is buggy ...) --- drivers/char/pcxx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/char/pcxx.c') diff --git a/drivers/char/pcxx.c b/drivers/char/pcxx.c index 9fe8bcc23..b1c1bb3e3 100644 --- a/drivers/char/pcxx.c +++ b/drivers/char/pcxx.c @@ -633,8 +633,7 @@ static void pcxe_close(struct tty_struct * tty, struct file * filp) 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); } -- cgit v1.2.3