Skip to contentSkip to conversation

genirq: Fix incorrect check for forced IRQ thread handler

PATCH In review Alexander Gordeev 1 participant 1 message Feb 20, 2012 IRQ

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 genirq: Fix incorrect check for forced IRQ thread handler

We do not want a bitwise AND between boolean operands

---
 kernel/irq/manage.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/irq/manage.c +1 -1
index a9a9dbe..c0730ad 100644
@@ -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
Signature · 1 line
1.7.7.6