]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
MIPS: Fix HOTPLUG_PARALLEL dependency
authorGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 27 Oct 2025 16:15:35 +0000 (17:15 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 1 Dec 2025 09:04:21 +0000 (10:04 +0100)
With MIPS, it is possible to have SMP enabled without HOTPLUG_CPU
selected. However, in kernel/cpu.c, some code that uses
HOTPLUG_PARALLEL also requires HOTPLUG_CPU to be selected. Therefore,
we should fix the HOTPLUG_PARALLEL dependency to depend on
HOTPLUG_CPU, not just SMP.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202510270120.21wA1aX1-lkp@intel.com/
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/Kconfig

index e8683f58fd3e2a43bf9384e1c3c3e454a8e59861..b88b97139fa8e1ea7d6d18265b7a682c069fd98b 100644 (file)
@@ -658,7 +658,7 @@ config EYEQ
        select USB_UHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
        select USB_UHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
        select USE_OF
-       select HOTPLUG_PARALLEL if SMP
+       select HOTPLUG_PARALLEL if HOTPLUG_CPU
        help
          Select this to build a kernel supporting EyeQ SoC from Mobileye.