Skip to content

Commit aec0095

Browse files
committed
irqchip: gic: Call handle_bad_irq() directly
Previously, the gic_handle_cascade_irq() function was calling the ARM-specific do_bad_IRQ() function which calls handle_bad_irq() after acquiring the desk->lock. Locking the cascaded IRQ desc is not needed for error reporting, so just call handle_bad_irq() directly. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Tested-by: Marc Zyngier <marc.zyngier@arm.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Rob Herring <rob.herring@calxeda.com>
1 parent de88cbb commit aec0095

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎drivers/irqchip/irq-gic.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
#include <asm/irq.h>
4545
#include <asm/exception.h>
4646
#include <asm/smp_plat.h>
47-
#include <asm/mach/irq.h>
4847

4948
#include "irqchip.h"
5049

@@ -324,7 +323,7 @@ static void gic_handle_cascade_irq(unsigned int irq, struct irq_desc *desc)
324323

325324
cascade_irq = irq_find_mapping(chip_data->domain, gic_irq);
326325
if (unlikely(gic_irq < 32 || gic_irq > 1020))
327-
do_bad_IRQ(cascade_irq, desc);
326+
handle_bad_irq(cascade_irq, desc);
328327
else
329328
generic_handle_irq(cascade_irq);
330329

0 commit comments

Comments
 (0)