aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-11-03 13:59:51 -0400
committerRob Herring <rob.herring@calxeda.com>2013-01-10 12:45:48 -0500
commitcfed7d6014589f51a092463f9c4aca3683fffdb8 (patch)
treeba058165fdbb1472539470a9cb1ae10c3ad318c3 /arch/arm
parentb1cffebf1029c87e1f1984d48463ee21093a6bc7 (diff)
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 <rob.herring@calxeda.com> Acked-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/common/gic.c3
1 files changed, 3 insertions, 0 deletions
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,
767#ifdef CONFIG_SMP 767#ifdef CONFIG_SMP
768 set_smp_cross_call(gic_raise_softirq); 768 set_smp_cross_call(gic_raise_softirq);
769#endif 769#endif
770
771 set_handle_irq(gic_handle_irq);
772
770 gic_chip.flags |= gic_arch_extn.flags; 773 gic_chip.flags |= gic_arch_extn.flags;
771 gic_dist_init(gic); 774 gic_dist_init(gic);
772 gic_cpu_init(gic); 775 gic_cpu_init(gic);