[PATCH v4 12/19] ARM: VIC: set handle_arch_irq in VIC initialization
Rob Herring
robherring2 at gmail.com
Thu Jan 3 12:54:21 EST 2013
From: Rob Herring <rob.herring at calxeda.com>
Set handle_arch_irq to vic_handle_irq. Only the first VIC initialized can
setup the handler.
Signed-off-by: Rob Herring <rob.herring at calxeda.com>
Acked-by: Olof Johansson <olof at lixom.net>
---
arch/arm/common/vic.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/common/vic.c b/arch/arm/common/vic.c
index 7431f47..6894df1 100644
--- a/arch/arm/common/vic.c
+++ b/arch/arm/common/vic.c
@@ -234,6 +234,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);
--
1.7.10.4
More information about the linux-arm-kernel
mailing list