ARM: Make global handler and CONFIG_MULTI_IRQ_HANDLER mutually exclusive
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 6 Sep 2011 08:23:26 +0000 (09:23 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 15 Nov 2011 18:13:03 +0000 (18:13 +0000)
commitabeb24ae4d3e543ecf0104cff08a3af4e7a42479
tree899f014c399f7e30c8a7709ac01f6ab36a96e250
parentdb0d4db22a78d31c59087f7057b8f1612fecc35d
ARM: Make global handler and CONFIG_MULTI_IRQ_HANDLER mutually exclusive

Even when CONFIG_MULTI_IRQ_HANDLER is selected, the core code
requires the arch_irq_handler_default macro to be defined as
a fallback.

It turns out nobody is using that particular feature as both PXA
and shmobile have all their machine descriptors populated with
the interrupt handler, leaving unused code (or empty macros) in
their entry-macro.S file just to be able to compile entry-armv.S.

Make CONFIG_MULTI_IRQ_HANDLER exclusive wrt arch_irq_handler_default,
which allows to remove one test from the hot path. Also cleanup both
PXA and shmobile entry-macro.S.

Cc: Paul Mundt <lethal@linux-sh.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Tested-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/kernel/entry-armv.S
arch/arm/mach-pxa/include/mach/entry-macro.S
arch/arm/mach-shmobile/include/mach/entry-macro.S