Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Fix HOTPLUG_PARALLEL dependency

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>

authored by

Gregory CLEMENT and committed by
Thomas Bogendoerfer
c8610c02 7d0a66e4

+1 -1
+1 -1
arch/mips/Kconfig
··· 658 658 select USB_UHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN 659 659 select USB_UHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN 660 660 select USE_OF 661 - select HOTPLUG_PARALLEL if SMP 661 + select HOTPLUG_PARALLEL if HOTPLUG_CPU 662 662 help 663 663 Select this to build a kernel supporting EyeQ SoC from Mobileye. 664 664