diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-11-21 05:55:27 +0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2013-01-12 20:47:34 +0400 |
commit | 7fb7d8ae1036f1002fe8b16c15cc26d32046df64 (patch) | |
tree | 9fab4fae7269151622f388d990b9cd3a6c0ed420 /arch/arm | |
parent | cf21af5458cafc3c1bd2864e6f789de32ba778f6 (diff) | |
download | linux-7fb7d8ae1036f1002fe8b16c15cc26d32046df64.tar.xz |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/common/vic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/common/vic.c b/arch/arm/common/vic.c index eaab40ef6c53..5feb004aaea6 100644 --- a/arch/arm/common/vic.c +++ b/arch/arm/common/vic.c @@ -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); |