summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2022-07-01 15:00:50 -0500
committerMarc Zyngier <maz@kernel.org>2022-07-07 09:38:03 +0100
commit0f5209fee90b4544c58b4278d944425292789967 (patch)
treee1cad3d9ed0be097690d422c9945e0b3d85b3b2d /kernel
parent8190cc572981f2f13b6ffc26c7cfa7899e5d3ccc (diff)
downloadlinux-0f5209fee90b4544c58b4278d944425292789967.tar.gz
linux-0f5209fee90b4544c58b4278d944425292789967.tar.bz2
linux-0f5209fee90b4544c58b4278d944425292789967.zip
genirq: GENERIC_IRQ_IPI depends on SMP
The generic IPI code depends on the IRQ affinity mask being allocated and initialized. This will not be the case if SMP is disabled. Fix up the remaining driver that selected GENERIC_IRQ_IPI in a non-SMP config. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20220701200056.46555-3-samuel@sholland.org
Diffstat (limited to 'kernel')
-rw-r--r--kernel/irq/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq/Kconfig b/kernel/irq/Kconfig
index 10929eda9825..fc760d064a65 100644
--- a/kernel/irq/Kconfig
+++ b/kernel/irq/Kconfig
@@ -82,6 +82,7 @@ config IRQ_FASTEOI_HIERARCHY_HANDLERS
# Generic IRQ IPI support
config GENERIC_IRQ_IPI
bool
+ depends on SMP
select IRQ_DOMAIN_HIERARCHY
# Generic MSI interrupt support