MIPS: Loongson: Use CONFIG_NR_CPUS_DEFAULT_64 to support more CPUs
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 31 Mar 2020 07:00:06 +0000 (15:00 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 14 Apr 2020 10:51:28 +0000 (12:51 +0200)
commit5125bfeeb6e4ffc47a5cb2715c342c938854cf20
tree10395b803a38f4b0d9dce123e01b76dc904b2a75
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
MIPS: Loongson: Use CONFIG_NR_CPUS_DEFAULT_64 to support more CPUs

When I update the mainline kernel on the Loongson 2-way platform which
has 8 CPUs, it only shows 4 CPUs due to NR_CPUS is 4, this is obviously
wrong.

In order to support more CPUs on the Loongson platform, it is better
to use CONFIG_NR_CPUS_DEFAULT_64 instead of CONFIG_NR_CPUS_DEFAULT_4
to specify the maximum number of CPUs which the kernel will support.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Acked-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/Kconfig