diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2014-08-26 06:03:27 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-09-03 09:10:40 -0400 |
commit | c15018e9192bbaa1a0f68ebee0284f701491b800 (patch) | |
tree | 9b27f6f3b4c2cddf2aed7288f0455e75fb03915f | |
parent | cf86bfdd68997b584f4a8f1da9ffd2fae852a5a9 (diff) |
irqchip: sirfsoc: Convert to handle_domain_irq
Use the new handle_domain_irq method to handle interrupts.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1409047421-27649-13-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
-rw-r--r-- | drivers/irqchip/irq-sirfsoc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/irqchip/irq-sirfsoc.c b/drivers/irqchip/irq-sirfsoc.c index 5e54f6d71e77..a469355df352 100644 --- a/drivers/irqchip/irq-sirfsoc.c +++ b/drivers/irqchip/irq-sirfsoc.c | |||
@@ -50,12 +50,10 @@ sirfsoc_alloc_gc(void __iomem *base, unsigned int irq_start, unsigned int num) | |||
50 | static void __exception_irq_entry sirfsoc_handle_irq(struct pt_regs *regs) | 50 | static void __exception_irq_entry sirfsoc_handle_irq(struct pt_regs *regs) |
51 | { | 51 | { |
52 | void __iomem *base = sirfsoc_irqdomain->host_data; | 52 | void __iomem *base = sirfsoc_irqdomain->host_data; |
53 | u32 irqstat, irqnr; | 53 | u32 irqstat; |
54 | 54 | ||
55 | irqstat = readl_relaxed(base + SIRFSOC_INIT_IRQ_ID); | 55 | irqstat = readl_relaxed(base + SIRFSOC_INIT_IRQ_ID); |
56 | irqnr = irq_find_mapping(sirfsoc_irqdomain, irqstat & 0xff); | 56 | handle_domain_irq(sirfsoc_irqdomain, irqstat & 0xff, regs); |
57 | |||
58 | handle_IRQ(irqnr, regs); | ||
59 | } | 57 | } |
60 | 58 | ||
61 | static int __init sirfsoc_irq_init(struct device_node *np, | 59 | static int __init sirfsoc_irq_init(struct device_node *np, |