kernel/Kconfig: clamp number of CPUs to 4

This maximum is implicit in the kernel support for SMP, e.g.,
kernel/init.c and kernel/smp.c assume CONFIG_MP_NUM_CPUS <= 4.

Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
Charles E. Youse 2019-09-24 13:29:41 -04:00 committed by Anas Nashif
commit 64300a7ec3

View file

@ -722,6 +722,7 @@ config SMP
config MP_NUM_CPUS
int "Number of CPUs/cores"
default 1
range 1 4
help
Number of multiprocessing-capable cores available to the
multicpu API and SMP features.