mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
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: 2ef2e13094 ("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
This commit is contained in:
parent
c855506257
commit
c1ab449df8
|
|
@ -497,7 +497,7 @@ void handle_nested_irq(unsigned int irq)
|
|||
might_sleep();
|
||||
|
||||
scoped_guard(raw_spinlock_irq, &desc->lock) {
|
||||
if (irq_can_handle_actions(desc))
|
||||
if (!irq_can_handle_actions(desc))
|
||||
return;
|
||||
|
||||
action = desc->action;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user