]> git.baikalelectronics.ru Git - kernel.git/commit
genirq: GENERIC_IRQ_EFFECTIVE_AFF_MASK depends on SMP
authorSamuel Holland <samuel@sholland.org>
Fri, 1 Jul 2022 20:00:51 +0000 (15:00 -0500)
committerMarc Zyngier <maz@kernel.org>
Thu, 7 Jul 2022 08:38:04 +0000 (09:38 +0100)
commit8284ef52d460316c1a8c782e48646b23b52e19b0
tree64832a962ef972ce8c0b9cd8a5fd29a429797b1b
parentdabd76f5d0d57e90a61e5e8ff228c02da894dead
genirq: GENERIC_IRQ_EFFECTIVE_AFF_MASK depends on SMP

An IRQ's effective affinity can only be different from its configured
affinity if there are multiple CPUs. Make it clear that this option is
only meaningful when SMP is enabled. Most of the relevant code in
irqdesc.c is already hidden behind CONFIG_SMP anyway.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220701200056.46555-4-samuel@sholland.org
arch/arm/mach-hisi/Kconfig
drivers/irqchip/Kconfig
kernel/irq/Kconfig