From: Greg Kroah-Hartman Date: Thu, 18 Aug 2011 17:23:38 +0000 (-0700) Subject: 3.0 patches X-Git-Tag: v3.0.4~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=661aa06c953095f18f633cb3e8491bff366afdf0;p=thirdparty%2Fkernel%2Fstable-queue.git 3.0 patches --- diff --git a/queue-3.0/genirq-fix-wrong-bit-operation.patch b/queue-3.0/genirq-fix-wrong-bit-operation.patch new file mode 100644 index 00000000000..2a34719eab3 --- /dev/null +++ b/queue-3.0/genirq-fix-wrong-bit-operation.patch @@ -0,0 +1,40 @@ +From 1dd75f91ae713049eb6baaa640078f3a6549e522 Mon Sep 17 00:00:00 2001 +From: "jhbird.choi@samsung.com" +Date: Thu, 21 Jul 2011 15:29:14 +0900 +Subject: genirq: Fix wrong bit operation + +From: "jhbird.choi@samsung.com" + +commit 1dd75f91ae713049eb6baaa640078f3a6549e522 upstream. + +(!msk & 0x01) should be !(msk & 0x01) + +Signed-off-by: Jonghwan Choi +Link: http://lkml.kernel.org/r/1311229754-6003-1-git-send-email-jhbird.choi@samsung.com +Signed-off-by: Thomas Gleixner +Signed-off-by: Greg Kroah-Hartman + +--- + kernel/irq/generic-chip.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/kernel/irq/generic-chip.c ++++ b/kernel/irq/generic-chip.c +@@ -246,7 +246,7 @@ void irq_setup_generic_chip(struct irq_c + gc->mask_cache = irq_reg_readl(gc->reg_base + ct->regs.mask); + + for (i = gc->irq_base; msk; msk >>= 1, i++) { +- if (!msk & 0x01) ++ if (!(msk & 0x01)) + continue; + + if (flags & IRQ_GC_INIT_NESTED_LOCK) +@@ -301,7 +301,7 @@ void irq_remove_generic_chip(struct irq_ + raw_spin_unlock(&gc_lock); + + for (; msk; msk >>= 1, i++) { +- if (!msk & 0x01) ++ if (!(msk & 0x01)) + continue; + + /* Remove handler first. That will mask the irq line */ diff --git a/queue-3.0/series b/queue-3.0/series new file mode 100644 index 00000000000..6cede878e24 --- /dev/null +++ b/queue-3.0/series @@ -0,0 +1 @@ +genirq-fix-wrong-bit-operation.patch