Skip to content

Commit

Permalink
ARM: GIC: set handle_arch_irq in GIC initialization
Browse files Browse the repository at this point in the history
Set handle_arch_irq to gic_handle_irq. Only the first GIC initialized can
setup the handler.

Signed-off-by: Rob Herring <[email protected]>
Acked-by: Olof Johansson <[email protected]>
  • Loading branch information
Rob Herring committed Jan 10, 2013
1 parent b1cffeb commit cfed7d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/common/gic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cfed7d6

Please sign in to comment.