aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@redhat.com>2012-03-09 08:59:13 -0500
committerThomas Gleixner <tglx@linutronix.de>2012-03-09 11:19:08 -0500
commit540b60e24f3f4781d80e47122f0c4486a03375b8 (patch)
treebcea664a581d1d1dbf63f544d00b52988f1422a5 /kernel/irq/manage.c
parentb2a00178614e2cdd981a708d22a05c1ce4eadfd7 (diff)
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@redhat.com> Cc: Oleg Nesterov <oleg@redhat.com> Link: http://lkml.kernel.org/r/20120309135912.GA2114@dhcp-26-207.brq.redhat.com Cc: stable@vger.kernel.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r--kernel/irq/manage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index a9a9dbe49fea..c0730ad8a117 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -773,7 +773,7 @@ static int irq_thread(void *data)
773 struct irqaction *action); 773 struct irqaction *action);
774 int wake; 774 int wake;
775 775
776 if (force_irqthreads & test_bit(IRQTF_FORCED_THREAD, 776 if (force_irqthreads && test_bit(IRQTF_FORCED_THREAD,
777 &action->thread_flags)) 777 &action->thread_flags))
778 handler_fn = irq_forced_thread_fn; 778 handler_fn = irq_forced_thread_fn;
779 else 779 else