[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-540b60e24f3f4781d80e47122f0c4486a03375b8@git.kernel.org>
Date: Fri, 9 Mar 2012 13:10:51 -0800
From: tip-bot for Alexander Gordeev <agordeev@...hat.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, agordeev@...hat.com, hpa@...or.com,
mingo@...hat.com, oleg@...hat.com, tglx@...utronix.de
Subject: [tip:irq/core] genirq:
Fix incorrect check for forced IRQ thread handler
Commit-ID: 540b60e24f3f4781d80e47122f0c4486a03375b8
Gitweb: http://git.kernel.org/tip/540b60e24f3f4781d80e47122f0c4486a03375b8
Author: Alexander Gordeev <agordeev@...hat.com>
AuthorDate: Fri, 9 Mar 2012 14:59:13 +0100
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Fri, 9 Mar 2012 17:19:08 +0100
genirq: Fix incorrect check for forced IRQ thread handler
We do not want a bitwise AND between boolean operands
Signed-off-by: Alexander Gordeev <agordeev@...hat.com>
Cc: Oleg Nesterov <oleg@...hat.com>
Link: http://lkml.kernel.org/r/20120309135912.GA2114@dhcp-26-207.brq.redhat.com
Cc: stable@...r.kernel.org
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
kernel/irq/manage.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index a9a9dbe..c0730ad 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -773,7 +773,7 @@ static int irq_thread(void *data)
struct irqaction *action);
int wake;
- if (force_irqthreads & test_bit(IRQTF_FORCED_THREAD,
+ if (force_irqthreads && test_bit(IRQTF_FORCED_THREAD,
&action->thread_flags))
handler_fn = irq_forced_thread_fn;
else
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists