MIPS: CPU#0 is not hotpluggable
authorHuacai Chen <chenhc@lemote.com>
Thu, 16 Jul 2020 10:40:23 +0000 (18:40 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 26 Jul 2020 08:18:35 +0000 (10:18 +0200)
commit9cce844abf07b683cff5f0273977d5f8d0af94c7
treed360ae58354e324ee3b1d1ce0e6be348c863d888
parentd8727385f4ab1f1603ac8e3219c0e830e1b38e90
MIPS: CPU#0 is not hotpluggable

Now CPU#0 is not hotpluggable on MIPS, so prevent to create /sys/devices
/system/cpu/cpu0/online which confuses some user-space tools.

Cc: stable@vger.kernel.org
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/topology.c