···170170int __handle_domain_irq(struct irq_domain *domain, unsigned int hwirq,171171 bool lookup, struct pt_regs *regs);172172173173+int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq);174174+173175static inline int handle_domain_irq(struct irq_domain *domain,174176 unsigned int hwirq, struct pt_regs *regs)175177{
+18-1
kernel/irq/irqdesc.c
···661661662662#ifdef CONFIG_HANDLE_DOMAIN_IRQ663663/**664664- * __handle_domain_irq - Invoke the handler for a HW irq belonging to a domain664664+ * generic_handle_domain_irq - Invoke the handler for a HW irq belonging665665+ * to a domain, usually for a non-root interrupt666666+ * controller667667+ * @domain: The domain where to perform the lookup668668+ * @hwirq: The HW irq number to convert to a logical one669669+ *670670+ * Returns: 0 on success, or -EINVAL if conversion has failed671671+ *672672+ */673673+int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq)674674+{675675+ return handle_irq_desc(irq_resolve_mapping(domain, hwirq));676676+}677677+EXPORT_SYMBOL_GPL(generic_handle_domain_irq);678678+679679+/**680680+ * __handle_domain_irq - Invoke the handler for a HW irq belonging to a domain,681681+ * usually for a root interrupt controller665682 * @domain: The domain where to perform the lookup666683 * @hwirq: The HW irq number to convert to a logical one667684 * @lookup: Whether to perform the domain lookup or not