]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: 8282/1: sa1100: use handle_domain_irq
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 15 Jan 2015 01:33:23 +0000 (02:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 Jan 2015 15:24:50 +0000 (15:24 +0000)
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>
arch/arm/mach-sa1100/irq.c

index a7d116af4a4f445468ecd61259d605bf9e9d1e34..65aebfa66fe5c2d3a1bc7b56479ce00bd3899a62 100644 (file)
@@ -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);
 }