summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-10-21 20:04:13 +0300
committerMarc Zyngier <maz@kernel.org>2021-10-26 13:19:38 +0300
commitdd098a0e031928cf88c89f7577d31821e1f0e6de (patch)
tree91d593ebe27df71fa063e8a610610be27e2981ae /include
parenteb5411334c289c473bc11d5cef8b0bea8d7ce324 (diff)
downloadlinux-dd098a0e031928cf88c89f7577d31821e1f0e6de.tar.xz
irqchip/mips-gic: Get rid of the reliance on irq_cpu_online()
The MIPS GIC driver uses irq_cpu_online() to go and program the per-CPU interrupts. However, this method iterates over all IRQs in the system, despite only 3 per-CPU interrupts being of interest. Let's be terribly bold and do the iteration ourselves. To ensure mutual exclusion, hold the gic_lock spinlock that is otherwise taken while dealing with these interrupts. Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Serge Semin <fancer.lancer@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Tested-by: Serge Semin <fancer.lancer@gmail.com> Link: https://lore.kernel.org/r/20211021170414.3341522-3-maz@kernel.org
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions