aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irqdesc.h
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-05-12 13:45:52 +0100
committerMarc Zyngier <maz@kernel.org>2021-06-10 13:09:19 +0100
commit8240ef50d4864325b346e40bb9d30cda9f22102d (patch)
tree00623dc13af3bebdbaa4a604acf54027a2940a15 /include/linux/irqdesc.h
parentirqchip/nvic: Convert from handle_IRQ() to handle_domain_irq() (diff)
downloadlinux-dev-8240ef50d4864325b346e40bb9d30cda9f22102d.tar.xz
linux-dev-8240ef50d4864325b346e40bb9d30cda9f22102d.zip
genirq: Add generic_handle_domain_irq() helper
Provide generic_handle_domain_irq() as a pendent to handle_domain_irq() for non-root interrupt controllers Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/linux/irqdesc.h')
-rw-r--r--include/linux/irqdesc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/irqdesc.h b/include/linux/irqdesc.h
index 2971eb7e65f1..0f226c6b0c70 100644
--- a/include/linux/irqdesc.h
+++ b/include/linux/irqdesc.h
@@ -170,6 +170,8 @@ int generic_handle_irq(unsigned int irq);
int __handle_domain_irq(struct irq_domain *domain, unsigned int hwirq,
bool lookup, struct pt_regs *regs);
+int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq);
+
static inline int handle_domain_irq(struct irq_domain *domain,
unsigned int hwirq, struct pt_regs *regs)
{