diff options
author | Samuel Holland <samuel@sholland.org> | 2022-07-01 22:00:51 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-07-07 10:38:04 +0200 |
commit | 0e6c027c035507abc67b356264a12c49f58c946e (patch) | |
tree | 64832a962ef972ce8c0b9cd8a5fd29a429797b1b /kernel | |
parent | genirq: GENERIC_IRQ_IPI depends on SMP (diff) | |
download | linux-0e6c027c035507abc67b356264a12c49f58c946e.tar.xz linux-0e6c027c035507abc67b356264a12c49f58c946e.zip |
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
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq/Kconfig b/kernel/irq/Kconfig index fc760d064a65..db3d174c53d4 100644 --- a/kernel/irq/Kconfig +++ b/kernel/irq/Kconfig @@ -24,6 +24,7 @@ config GENERIC_IRQ_SHOW_LEVEL # Supports effective affinity mask config GENERIC_IRQ_EFFECTIVE_AFF_MASK + depends on SMP bool # Support for delayed migration from interrupt context |