+ do_irq-warning-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     do_IRQ() warning fix

has been added to the -mm tree.  Its filename is

     do_irq-warning-fix.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: do_IRQ() warning fix
From: Andrew Morton <akpm@xxxxxxxx>

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@xxxxxxxx>
---

 arch/i386/kernel/irq.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN arch/i386/kernel/irq.c~do_irq-warning-fix arch/i386/kernel/irq.c
--- a/arch/i386/kernel/irq.c~do_irq-warning-fix
+++ a/arch/i386/kernel/irq.c
@@ -100,8 +100,8 @@ fastcall unsigned int do_IRQ(struct pt_r
 		 * 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"
_

Patches currently in -mm which might be from akpm@xxxxxxxx are

origin.patch
pm_trace-is-bust.patch
catch-notification-of-memory-add-event-of-acpi-via-container-driver-register-start-func-for-memory-device.patch
catch-notification-of-memory-add-event-of-acpi-via-container-driveravoid-redundant-call-add_memory.patch
pgdat-allocation-for-new-node-add-export-kswapd-start-func.patch
i386-moving-phys_proc_id-and-cpu_core_id-to-cpuinfo_x86.patch
vdso-randomize-the-i386-vdso-by-moving-it-into-a-vma.patch
load_module-cleanup.patch
cpu-hotplug-make-cpu_notifier-related-notifier-calls-__cpuinit-only.patch
sched-fix-smt-nice-lock-contention-and-optimization.patch
pi-futex-rt-mutex-tester.patch
do_irq-warning-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux