forked from Minki/linux
[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: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
775d584c63
commit
91bf460269
@ -100,8 +100,8 @@ fastcall unsigned int do_IRQ(struct pt_regs *regs)
|
||||
* 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"
|
||||
|
Loading…
Reference in New Issue
Block a user