linux-mips
[Top] [All Lists]

Re: [PATCH] fix post-fence error

To: Roel Kluin <12o3l@tiscali.nl>
Subject: Re: [PATCH] fix post-fence error
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Date: Sat, 27 Oct 2007 16:02:10 +0400
Cc: linux-mips@linux-mips.org
In-reply-to: <47228018.8020202@tiscali.nl>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <47228018.8020202@tiscali.nl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803
Hello.

Roel Kluin wrote:

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++)

Could also add spaces between the operands and operators (like above/below), while at it...

                        tmp |= (current->pending.signal.sig[i] & kset.sig[i]);

WBR, Sergei

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