Skip to content

Commit 42a7d88

Browse files
seehearfeelKAGA-KOKO
authored andcommitted
irqchip/loongson: Select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP for IRQ_LOONGARCH_CPU
An interrupt'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. Otherwise, there exists "WARNING: unmet direct dependencies detected for GENERIC_IRQ_EFFECTIVE_AFF_MASK" when make menuconfig if CONFIG_SMP is not set on LoongArch. Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20240326121130.16622-3-yangtiezhu@loongson.cn
1 parent a64003d commit 42a7d88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/irqchip/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ config IRQ_LOONGARCH_CPU
593593
bool
594594
select GENERIC_IRQ_CHIP
595595
select IRQ_DOMAIN
596-
select GENERIC_IRQ_EFFECTIVE_AFF_MASK
596+
select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP
597597
select LOONGSON_HTVEC
598598
select LOONGSON_LIOINTC
599599
select LOONGSON_EIOINTC

0 commit comments

Comments
 (0)