summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2015-01-15 02:33:23 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-01-29 16:24:50 +0100
commit364e386917c8cdfadc5abd5a9b2c5cbac1c2133e (patch)
treeebfda50a0569591637bad7464ba19e73519f1452
parentARM: 8281/1: sa1100: move GPIO-related IRQ code to gpio driver (diff)
downloadlinux-364e386917c8cdfadc5abd5a9b2c5cbac1c2133e.tar.xz
linux-364e386917c8cdfadc5abd5a9b2c5cbac1c2133e.zip
ARM: 8282/1: sa1100: use handle_domain_irq
Use handle_domain_irq instead of handle_IRQ to automatically map hardware irq number to virq. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/mach-sa1100/irq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-sa1100/irq.c b/arch/arm/mach-sa1100/irq.c
index a7d116af4a4f..65aebfa66fe5 100644
--- a/arch/arm/mach-sa1100/irq.c
+++ b/arch/arm/mach-sa1100/irq.c
@@ -147,7 +147,8 @@ sa1100_handle_irq(struct pt_regs *regs)
if (mask == 0)
break;
- handle_IRQ(ffs(mask) - 1 + IRQ_GPIO0_SC, regs);
+ handle_domain_irq(sa1100_normal_irqdomain,
+ ffs(mask) - 1, regs);
} while (1);
}