Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] fix post-fence error
@ 2007-10-27  0:02 Roel Kluin
  2007-10-27 12:02 ` Sergei Shtylyov
  0 siblings, 1 reply; 8+ messages in thread
From: Roel Kluin @ 2007-10-27  0:02 UTC (permalink / raw)
  To: linux-mips

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)

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-10-29 20:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-27  0:02 [PATCH] fix post-fence error Roel Kluin
2007-10-27 12:02 ` Sergei Shtylyov
2007-10-27 12:16   ` Roel Kluin
2007-10-27 12:18     ` Sergei Shtylyov
2007-10-29 15:02     ` Ralf Baechle
2007-10-29 15:36       ` Sergei Shtylyov
2007-10-29 19:18         ` Ralf Baechle
2007-10-29 20:05           ` Sergei Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox