提交 91bf4602 编写于 作者: A Andrew Morton 提交者: Linus Torvalds

[PATCH] do_IRQ() warning fix

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: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 775d584c
...@@ -100,8 +100,8 @@ fastcall unsigned int do_IRQ(struct pt_regs *regs) ...@@ -100,8 +100,8 @@ fastcall unsigned int do_IRQ(struct pt_regs *regs)
* softirq checks work in the hardirq context. * softirq checks work in the hardirq context.
*/ */
irqctx->tinfo.preempt_count = irqctx->tinfo.preempt_count =
irqctx->tinfo.preempt_count & ~SOFTIRQ_MASK | (irqctx->tinfo.preempt_count & ~SOFTIRQ_MASK) |
curctx->tinfo.preempt_count & SOFTIRQ_MASK; (curctx->tinfo.preempt_count & SOFTIRQ_MASK);
asm volatile( asm volatile(
" xchgl %%ebx,%%esp \n" " xchgl %%ebx,%%esp \n"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册