aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/common/gic.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-06-12 20:45:59 -0400
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2011-09-23 02:35:30 -0400
commit9c12845ee49716209cb2b087c0b47c3e37096bde (patch)
treed9d92a3ef3a9399a7547bc3fba4f2239b240a9df /arch/arm/common/gic.c
parent746a9d1963f1c7a3cd22662065d7dcd3d93ee62e (diff)
ARM: gic: Allow gic arch extensions to provide irqchip flags
Tegra can benefit from the IRQCHIP_MASK_ON_SUSPEND flag, allow it to be passed to the gic irq chip. Signed-off-by: Colin Cross <ccross@android.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Tested-and-Acked-by: Shawn Guo <shawn.guo@linaro.org> Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
Diffstat (limited to 'arch/arm/common/gic.c')
-rw-r--r--arch/arm/common/gic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/common/gic.c b/arch/arm/common/gic.c
index 66c7c4820108..734db99eaee7 100644
--- a/arch/arm/common/gic.c
+++ b/arch/arm/common/gic.c
@@ -544,6 +544,7 @@ void __init gic_init(unsigned int gic_nr, unsigned int irq_start,
544 if (gic_nr == 0) 544 if (gic_nr == 0)
545 gic_cpu_base_addr = cpu_base; 545 gic_cpu_base_addr = cpu_base;
546 546
547 gic_chip.flags |= gic_arch_extn.flags;
547 gic_dist_init(gic, irq_start); 548 gic_dist_init(gic, irq_start);
548 gic_cpu_init(gic); 549 gic_cpu_init(gic);
549 gic_pm_init(gic); 550 gic_pm_init(gic);