Skip to content

Commit c1ab449

Browse files
committed
genirq: Fix inverted condition in handle_nested_irq()
Marek reported that the rework of handle_nested_irq() introduced a inverted condition, which prevents handling of interrupts. Fix it up. Fixes: 2ef2e13 ("genirq/chip: Rework handle_nested_irq()") Reported-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Closes: https://lore.kernel/org/all/46ed4040-ca11-4157-8bd7-13c04c113734@samsung.com
1 parent c855506 commit c1ab449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/irq/chip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ void handle_nested_irq(unsigned int irq)
497497
might_sleep();
498498

499499
scoped_guard(raw_spinlock_irq, &desc->lock) {
500-
if (irq_can_handle_actions(desc))
500+
if (!irq_can_handle_actions(desc))
501501
return;
502502

503503
action = desc->action;

0 commit comments

Comments
 (0)