summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-bcm2835.c
diff options
context:
space:
mode:
authorEric Anholt2016-05-31 23:05:27 +0200
committerJason Cooper2016-06-04 16:16:59 +0200
commitd7e3528eed85b51ddca2f281d2d4e7d687f28d60 (patch)
treef71a13c994779813c37b604e85219dd87da08d47 /drivers/irqchip/irq-bcm2835.c
parentLinux 4.7-rc1 (diff)
downloadkernel-qcow2-linux-d7e3528eed85b51ddca2f281d2d4e7d687f28d60.tar.gz
kernel-qcow2-linux-d7e3528eed85b51ddca2f281d2d4e7d687f28d60.tar.xz
kernel-qcow2-linux-d7e3528eed85b51ddca2f281d2d4e7d687f28d60.zip
irqchip: bcm2835: Avoid arch/arm-specific handle_IRQ
With commit 76ba59f8366f genirq: Add irq_domain-aware core IRQ handler architecture-specific irq handlers are no longer necessary. Update the bcm2835 irq driver to use the core irq handler. As a bonus, this allows the driver to support arm64 as well. Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Link: https://lkml.kernel.org/r/1464728727-16300-1-git-send-email-eric@anholt.net [jac reworded commit message for clarity] Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/irqchip/irq-bcm2835.c')
-rw-r--r--drivers/irqchip/irq-bcm2835.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-bcm2835.c b/drivers/irqchip/irq-bcm2835.c
index bf9cc5f2e839..44d7c38dde47 100644
--- a/drivers/irqchip/irq-bcm2835.c
+++ b/drivers/irqchip/irq-bcm2835.c
@@ -52,7 +52,6 @@
#include <linux/irqdomain.h>
#include <asm/exception.h>
-#include <asm/mach/irq.h>
/* Put the bank and irq (32 bits) into the hwirq */
#define MAKE_HWIRQ(b, n) ((b << 5) | (n))
@@ -242,7 +241,7 @@ static void __exception_irq_entry bcm2835_handle_irq(
u32 hwirq;
while ((hwirq = get_next_armctrl_hwirq()) != ~0)
- handle_IRQ(irq_linear_revmap(intc.domain, hwirq), regs);
+ handle_domain_irq(intc.domain, hwirq, regs);
}
static void bcm2836_chained_handle_irq(struct irq_desc *desc)