Link: https://lore.kernel.org/r/20230213104302.17307-6-johan+linaro@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
- kernel/irq/irqdomain.c | 88 +++++++++++++++++++++++-------------------
+ kernel/irq/irqdomain.c | 88 ++++++++++++++++++++++++++-----------------------
1 file changed, 48 insertions(+), 40 deletions(-)
-diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
-index 96ecd179717bf..e0b67784ac1e0 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
-@@ -1485,40 +1485,12 @@ int irq_domain_alloc_irqs_hierarchy(struct irq_domain *domain,
+@@ -1464,40 +1464,12 @@ int irq_domain_alloc_irqs_hierarchy(stru
return domain->ops->alloc(domain, irq_base, nr_irqs, arg);
}
if (realloc && irq_base >= 0) {
virq = irq_base;
} else {
-@@ -1537,24 +1509,18 @@ int __irq_domain_alloc_irqs(struct irq_domain *domain, int irq_base,
+@@ -1516,24 +1488,18 @@ int __irq_domain_alloc_irqs(struct irq_d
goto out_free_desc;
}
return virq;
-@@ -1565,6 +1531,48 @@ int __irq_domain_alloc_irqs(struct irq_domain *domain, int irq_base,
+@@ -1544,6 +1510,48 @@ out_free_desc:
return ret;
}
/* The irq_data was moved, fix the revmap to refer to the new location */
static void irq_domain_fix_revmap(struct irq_data *d)
{
---
-2.39.2
-