Skip to content

Commit 0053892

Browse files
nathanchanceKAGA-KOKO
authored andcommitted
irqchip/mips-gic: Fix selection of GENERIC_IRQ_EFFECTIVE_AFF_MASK
Without SMP enabled (such as in allnoconfig), there is a Kconfig warning because CONFIG_IRQ_EFFECTIVE_AFF_MASK is unconditionally selected by CONFIG_MIPS_GIC: WARNING: unmet direct dependencies detected for GENERIC_IRQ_EFFECTIVE_AFF_MASK Depends on [n]: SMP [=n] Selected by [y]: - MIPS_GIC [=y] Add a dependency on SMP to the selection, which matches all other selections of CONFIG_IRQ_EFFECTIVE_AFF_MASK. Fixes: 322a906 ("irqchip/mips-gic: Multi-cluster support") Signed-off-by: Nathan Chancellor <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/20241101-mips-fix-generic_irq_effective_aff_mask-select-v1-1-d94db6e0de0d@kernel.org
1 parent d1cb143 commit 0053892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ config KEYSTONE_IRQ
352352

353353
config MIPS_GIC
354354
bool
355-
select GENERIC_IRQ_EFFECTIVE_AFF_MASK
355+
select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP
356356
select GENERIC_IRQ_IPI if SMP
357357
select IRQ_DOMAIN_HIERARCHY
358358
select MIPS_CM

0 commit comments

Comments
 (0)