[PATCH v3 01/17] ARM: Make global handler and CONFIG_MULTI_IRQ_HANDLER mutually exclusive
Jamie Iles
jamie at jamieiles.com
Mon Nov 7 04:45:15 EST 2011
Hi Marc,
On Fri, Nov 04, 2011 at 04:57:35PM +0000, Marc Zyngier wrote:
> 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: Eric Miao <eric.y.miao at gmail.com>
> Cc: Paul Mundt <lethal at linux-sh.org>
> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>
Tested-by: Jamie Iles <jamie at jamieiles.com>
My VIC patches are using this so if it goes in through the GIC patches
first then that would be great!
Thanks,
Jamie
More information about the linux-arm-kernel
mailing list