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>
This commit is contained in:
Родитель
b1cffebf10
Коммит
cfed7d6014
|
@ -767,6 +767,9 @@ void __init gic_init_bases(unsigned int gic_nr, int irq_start,
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
set_smp_cross_call(gic_raise_softirq);
|
set_smp_cross_call(gic_raise_softirq);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
set_handle_irq(gic_handle_irq);
|
||||||
|
|
||||||
gic_chip.flags |= gic_arch_extn.flags;
|
gic_chip.flags |= gic_arch_extn.flags;
|
||||||
gic_dist_init(gic);
|
gic_dist_init(gic);
|
||||||
gic_cpu_init(gic);
|
gic_cpu_init(gic);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче