irqchip: gic: Add an entry point to set up irqchip flags
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 11 Mar 2015 15:45:34 +0000 (15:45 +0000)
committerJason Cooper <jason@lakedaemon.net>
Sun, 15 Mar 2015 01:27:42 +0000 (01:27 +0000)
commit49869be2d9d0e9195706da7050c81bc909f41f4f
treea87135da508921fb058ebb6173cc2c4b809268c5
parentc517d838eb7d07bbe9507871fab3931deccff539
irqchip: gic: Add an entry point to set up irqchip flags

A common use of gic_arch_extn is to set up additional flags
to the GIC irqchip. It looks like a benign enough hack that
doesn't really require the users of that feature to be converted
to stacked domains.

Add a gic_set_irqchip_flags() function that platform code can
call instead of using the dreaded gic_arch_extn.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1426088737-15817-2-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-gic.c
include/linux/irqchip/arm-gic.h