diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2022-12-13 15:08:43 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2023-01-11 19:51:39 +0100 |
commit | 0e2213fe0ab4c04da0e2354e84ec3b90e59939a4 (patch) | |
tree | 650addb7e502ba7edda704a1f3b0563946e38814 /drivers/irqchip/irq-bcm2836.c | |
parent | docs: locking: Discourage from calling disable_irq() in atomic (diff) | |
download | linux-0e2213fe0ab4c04da0e2354e84ec3b90e59939a4.tar.xz linux-0e2213fe0ab4c04da0e2354e84ec3b90e59939a4.zip |
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-bcm2836.c')
-rw-r--r-- | drivers/irqchip/irq-bcm2836.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c index 51491c3c6fdd..e5f1059b989f 100644 --- a/drivers/irqchip/irq-bcm2836.c +++ b/drivers/irqchip/irq-bcm2836.c @@ -268,10 +268,7 @@ static void __init bcm2836_arm_irqchip_smp_init(void) ipi_domain->flags |= IRQ_DOMAIN_FLAG_IPI_SINGLE; irq_domain_update_bus_token(ipi_domain, DOMAIN_BUS_IPI); - base_ipi = __irq_domain_alloc_irqs(ipi_domain, -1, BITS_PER_MBOX, - NUMA_NO_NODE, NULL, - false, NULL); - + base_ipi = irq_domain_alloc_irqs(ipi_domain, BITS_PER_MBOX, NUMA_NO_NODE, NULL); if (WARN_ON(!base_ipi)) return; |