IRIX: Use schedule_timeout_interruptible.
authorRalf Baechle <ralf@linux-mips.org>
Sat, 5 Nov 2005 11:26:43 +0000 (11:26 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 7 Nov 2005 18:05:39 +0000 (18:05 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/irixsig.c

index 908e6368420871b04578f8321ab70fd7c509b2ec..dd118c60bcd0676f69c6a841de91cf4f7ee96a23 100644 (file)
@@ -502,8 +502,7 @@ asmlinkage int irix_sigpoll_sys(unsigned long __user *set,
        while(1) {
                long tmp = 0;
 
-               current->state = TASK_INTERRUPTIBLE;
-               expire = schedule_timeout(expire);
+               expire = schedule_timeout_interruptible(expire);
 
                for (i=0; i<=4; i++)
                        tmp |= (current->pending.signal.sig[i] & kset.sig[i]);