irqchip: gic: Call handle_bad_irq() directly
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 14 Jan 2013 17:53:39 +0000 (17:53 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 26 Mar 2013 16:11:56 +0000 (16:11 +0000)
commitaec0095653cd9812b9a15df0315364cc6d094c59
treeef8a5ba0c72a171902552137d9737e731bf4ed6c
parentde88cbb7b244f3bcd61d49fd6dec35c19192545a
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>
drivers/irqchip/irq-gic.c