Skip to content

Commit 5aecc24

Browse files
committed
irq: remove CONFIG_HANDLE_DOMAIN_IRQ_IRQENTRY
Now that all users of CONFIG_HANDLE_DOMAIN_IRQ perform the irq entry work themselves, we can remove the legacy CONFIG_HANDLE_DOMAIN_IRQ_IRQENTRY behaviour. Signed-off-by: Mark Rutland <[email protected]> Reviewed-by: Marc Zyngier <[email protected]> Cc: Thomas Gleixner <[email protected]>
1 parent 7ecbc64 commit 5aecc24

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

kernel/irq/irqdesc.c

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -676,31 +676,6 @@ int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq)
676676
EXPORT_SYMBOL_GPL(generic_handle_domain_irq);
677677

678678
#ifdef CONFIG_HANDLE_DOMAIN_IRQ
679-
#ifdef CONFIG_HANDLE_DOMAIN_IRQ_IRQENTRY
680-
/**
681-
* handle_domain_irq - Invoke the handler for a HW irq belonging to a domain,
682-
* usually for a root interrupt controller
683-
* @domain: The domain where to perform the lookup
684-
* @hwirq: The HW irq number to convert to a logical one
685-
* @regs: Register file coming from the low-level handling code
686-
*
687-
* Returns: 0 on success, or -EINVAL if conversion has failed
688-
*/
689-
int handle_domain_irq(struct irq_domain *domain,
690-
unsigned int hwirq, struct pt_regs *regs)
691-
{
692-
struct pt_regs *old_regs = set_irq_regs(regs);
693-
int ret;
694-
695-
irq_enter();
696-
697-
ret = generic_handle_domain_irq(domain, hwirq);
698-
699-
irq_exit();
700-
set_irq_regs(old_regs);
701-
return ret;
702-
}
703-
#else
704679
/**
705680
* handle_domain_irq - Invoke the handler for a HW irq belonging to a domain,
706681
* usually for a root interrupt controller
@@ -728,7 +703,6 @@ int handle_domain_irq(struct irq_domain *domain,
728703
set_irq_regs(old_regs);
729704
return ret;
730705
}
731-
#endif
732706

733707
/**
734708
* handle_domain_nmi - Invoke the handler for a HW irq belonging to a domain

0 commit comments

Comments
 (0)