From cfed7d6014589f51a092463f9c4aca3683fffdb8 Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Sat, 3 Nov 2012 12:59:51 -0500 Subject: ARM: GIC: set handle_arch_irq in GIC initialization Set handle_arch_irq to gic_handle_irq. Only the first GIC initialized can setup the handler. Signed-off-by: Rob Herring Acked-by: Olof Johansson --- arch/arm/common/gic.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch') diff --git a/arch/arm/common/gic.c b/arch/arm/common/gic.c index 788658cca960..4b4ccf31e083 100644 --- a/arch/arm/common/gic.c +++ b/arch/arm/common/gic.c @@ -767,6 +767,9 @@ void __init gic_init_bases(unsigned int gic_nr, int irq_start, #ifdef CONFIG_SMP set_smp_cross_call(gic_raise_softirq); #endif + + set_handle_irq(gic_handle_irq); + gic_chip.flags |= gic_arch_extn.flags; gic_dist_init(gic); gic_cpu_init(gic); -- cgit v1.2.3