From 64300a7ec3ec490110c692e0d05eb753e05aafbf Mon Sep 17 00:00:00 2001 From: "Charles E. Youse" Date: Tue, 24 Sep 2019 13:29:41 -0400 Subject: [PATCH] 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 --- kernel/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/Kconfig b/kernel/Kconfig index d09164a93e2..fac61b7c1c8 100644 --- a/kernel/Kconfig +++ b/kernel/Kconfig @@ -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.