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)
commit0e6c027c035507abc67b356264a12c49f58c946e
tree64832a962ef972ce8c0b9cd8a5fd29a429797b1b
parent0f5209fee90b4544c58b4278d944425292789967
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