]> www.infradead.org Git - users/jedix/linux-maple.git/commit
irqchip/mips-gic: Fix selection of GENERIC_IRQ_EFFECTIVE_AFF_MASK
authorNathan Chancellor <nathan@kernel.org>
Fri, 1 Nov 2024 16:33:05 +0000 (09:33 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 1 Nov 2024 21:15:56 +0000 (22:15 +0100)
commit0053892ff7d4bab5efdb4def0fd211ec36e26f69
treee6668ee4aad7dfbb175e23ebca3e56cc2fcae27e
parentd1cb1437b785f312d63f447e2e79ff768e7ccc29
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: 322a90638768 ("irqchip/mips-gic: Multi-cluster support")
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241101-mips-fix-generic_irq_effective_aff_mask-select-v1-1-d94db6e0de0d@kernel.org
drivers/irqchip/Kconfig