ARM: VIC: set handle_arch_irq in VIC initialization
Set handle_arch_irq to vic_handle_irq. Only the first VIC 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:
Родитель
cf21af5458
Коммит
7fb7d8ae10
|
@ -235,6 +235,7 @@ static void __init vic_register(void __iomem *base, unsigned int irq,
|
|||
v->valid_sources = valid_sources;
|
||||
v->resume_sources = resume_sources;
|
||||
v->irq = irq;
|
||||
set_handle_irq(vic_handle_irq);
|
||||
vic_id++;
|
||||
v->domain = irq_domain_add_simple(node, fls(valid_sources), irq,
|
||||
&vic_irqdomain_ops, v);
|
||||
|
|
Загрузка…
Ссылка в новой задаче