ARM: gic: Allow gic arch extensions to provide irqchip flags
authorColin Cross <ccross@android.com>
Mon, 13 Jun 2011 00:45:59 +0000 (00:45 +0000)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Fri, 23 Sep 2011 06:35:30 +0000 (12:05 +0530)
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>
arch/arm/common/gic.c

index 66c7c482010899884d213be0b995eb60feead07c..734db99eaee768bb060ac684fd6cff19d33b1472 100644 (file)
@@ -544,6 +544,7 @@ void __init gic_init(unsigned int gic_nr, unsigned int irq_start,
        if (gic_nr == 0)
                gic_cpu_base_addr = cpu_base;
 
+       gic_chip.flags |= gic_arch_extn.flags;
        gic_dist_init(gic, irq_start);
        gic_cpu_init(gic);
        gic_pm_init(gic);