genirq: Fix incorrect check for forced IRQ thread handler
PATCH 1/5 genirq: Fix incorrect check for forced IRQ thread handler
We do not want a bitwise AND between boolean operands
Signed-off-by Alexander Gordeev <[email protected]>
--- kernel/irq/manage.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/irq/manage.c +1 -1
@@ -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