diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2019-01-26 20:35:18 -0800 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2019-01-27 10:04:30 -0800 |
commit | 25384ce5f9530def39421597b1457d9462df6455 (patch) | |
tree | 7fc19542bb0395634bb3d5c2e11385269eabf474 /arch/hexagon/include/uapi/asm/Kbuild | |
parent | 687cffd3450911b1b7449fd6c30f598b35666b41 (diff) | |
download | linux-25384ce5f9530def39421597b1457d9462df6455.tar.bz2 |
xtensa: SMP: limit number of possible CPUs by NR_CPUS
This fixes the following warning at boot when the kernel is booted on a
board with more CPU cores than was configured in NR_CPUS:
smp_init_cpus: Core Count = 8
smp_init_cpus: Core Id = 0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 0 at include/linux/cpumask.h:121 smp_init_cpus+0x54/0x74
Modules linked in:
CPU: 0 PID: 0 Comm: swapper Not tainted 5.0.0-rc3-00015-g1459333f88a0 #124
Call Trace:
__warn$part$3+0x6a/0x7c
warn_slowpath_null+0x35/0x3c
smp_init_cpus+0x54/0x74
setup_arch+0x1c0/0x1d0
start_kernel+0x44/0x310
_startup+0x107/0x107
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/hexagon/include/uapi/asm/Kbuild')
0 files changed, 0 insertions, 0 deletions