summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-11-05 14:26:43 +0300
committerRalf Baechle <ralf@linux-mips.org>2005-11-07 21:05:39 +0300
commit0d959c260e98b6b046d268b5ef5b76caf0026ab2 (patch)
treea5e53f7482cecaec5053265e84f7d44640851afd
parenta0f08209c685b4f7dccaf013da74e0e80986c477 (diff)
downloadlinux-0d959c260e98b6b046d268b5ef5b76caf0026ab2.tar.xz
IRIX: Use schedule_timeout_interruptible.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/kernel/irixsig.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/kernel/irixsig.c b/arch/mips/kernel/irixsig.c
index 908e63684208..dd118c60bcd0 100644
--- a/arch/mips/kernel/irixsig.c
+++ b/arch/mips/kernel/irixsig.c
@@ -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]);