Commit e48530f7 authored by Alexander Gordeev's avatar Alexander Gordeev Committed by Greg Kroah-Hartman

genirq: Fix incorrect check for forced IRQ thread handler

commit 540b60e2 upstream.

We do not want a bitwise AND between boolean operands
Signed-off-by: default avatarAlexander Gordeev <agordeev@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Link: http://lkml.kernel.org/r/20120309135912.GA2114@dhcp-26-207.brq.redhat.comSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3f64d9ec
......@@ -770,7 +770,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment