From: Jean Delvare <khali@linux-fr.org>
To: LKML <linux-kernel@vger.kernel.org>
Cc: "Björn Steinbrink" <B.Steinbrink@gmx.de>,
"Arjan van de Ven" <arjan@linux.intel.com>
Subject: [PATCH] Fix warning in do_IRQ (i386)
Date: Mon, 26 Jun 2006 23:08:57 +0200 [thread overview]
Message-ID: <20060626230857.e92bc170.khali@linux-fr.org> (raw)
arch/i386/kernel/irq.c: In function `do_IRQ':
arch/i386/kernel/irq.c:104: warning: suggest parentheses around arithmetic in operand of |
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Björn Steinbrink <B.Steinbrink@gmx.de>
Cc: Arjan van de Ven <arjan@linux.intel.com>
---
arch/i386/kernel/irq.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.17-git.orig/arch/i386/kernel/irq.c 2006-06-26 21:55:03.000000000 +0200
+++ linux-2.6.17-git/arch/i386/kernel/irq.c 2006-06-26 22:54:49.000000000 +0200
@@ -100,8 +100,8 @@
* softirq checks work in the hardirq context.
*/
irqctx->tinfo.preempt_count =
- irqctx->tinfo.preempt_count & ~SOFTIRQ_MASK |
- curctx->tinfo.preempt_count & SOFTIRQ_MASK;
+ (irqctx->tinfo.preempt_count & ~SOFTIRQ_MASK) |
+ (curctx->tinfo.preempt_count & SOFTIRQ_MASK);
asm volatile(
" xchgl %%ebx,%%esp \n"
--
Jean Delvare
next reply other threads:[~2006-06-26 21:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-26 21:08 Jean Delvare [this message]
2006-06-26 21:55 ` Björn Steinbrink
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060626230857.e92bc170.khali@linux-fr.org \
--to=khali@linux-fr.org \
--cc=B.Steinbrink@gmx.de \
--cc=arjan@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®