linux-mips
[Top] [All Lists]

[PATCH] fix post-fence error

To: linux-mips@linux-mips.org
Subject: [PATCH] fix post-fence error
From: Roel Kluin <12o3l@tiscali.nl>
Date: Sat, 27 Oct 2007 02:02:32 +0200
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.6 (X11/20070728)
In the same file:

typedef struct {
        unsigned long sig[4];
} irix_sigset_t;
---
diff --git a/arch/mips/kernel/irixsig.c b/arch/mips/kernel/irixsig.c
index a0a9105..d65c51c 100644
--- a/arch/mips/kernel/irixsig.c
+++ b/arch/mips/kernel/irixsig.c
@@ -527,7 +527,7 @@ asmlinkage int irix_sigpoll_sys(unsigned long __user *set,
 
                expire = schedule_timeout_interruptible(expire);
 
-               for (i=0; i<=4; i++)
+               for (i=0; i<4; i++)
                        tmp |= (current->pending.signal.sig[i] & kset.sig[i]);
 
                if (tmp)

<Prev in Thread] Current Thread [Next in Thread>