diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2022-12-13 17:08:43 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2023-01-11 21:51:39 +0300 |
commit | 0e2213fe0ab4c04da0e2354e84ec3b90e59939a4 (patch) | |
tree | 650addb7e502ba7edda704a1f3b0563946e38814 /drivers/irqchip/irq-gic.c | |
parent | 379af13b31fa8a36ad4abd59a5c511f25c5d4d42 (diff) | |
download | linux-0e2213fe0ab4c04da0e2354e84ec3b90e59939a4.tar.xz |
irqchip: Use irq_domain_alloc_irqs()
Use the irq_domain_alloc_irqs() wrapper instead of the full
__irq_domain_alloc_irqs() interface, which was only intended for some
legacy (x86) use cases.
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20221213140844.15470-2-johan+linaro@kernel.org
Diffstat (limited to 'drivers/irqchip/irq-gic.c')
-rw-r--r-- | drivers/irqchip/irq-gic.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index 210bc2f4d555..4fa4d8ac76d9 100644 --- a/drivers/irqchip/irq-gic.c +++ b/drivers/irqchip/irq-gic.c @@ -868,9 +868,7 @@ static __init void gic_smp_init(void) "irqchip/arm/gic:starting", gic_starting_cpu, NULL); - base_sgi = __irq_domain_alloc_irqs(gic_data[0].domain, -1, 8, - NUMA_NO_NODE, &sgi_fwspec, - false, NULL); + base_sgi = irq_domain_alloc_irqs(gic_data[0].domain, 8, NUMA_NO_NODE, &sgi_fwspec); if (WARN_ON(base_sgi <= 0)) return; |