aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/kernel/irixsig.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-11-05 11:26:43 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-11-07 18:05:39 +0000
commit0d959c260e98b6b046d268b5ef5b76caf0026ab2 (patch)
treea5e53f7482cecaec5053265e84f7d44640851afd /arch/mips/kernel/irixsig.c
parenta0f08209c685b4f7dccaf013da74e0e80986c477 (diff)
IRIX: Use schedule_timeout_interruptible.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/irixsig.c')
-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 908e6368420..dd118c60bcd 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]);