[linux-yocto] [PATCH] intel-x86-32: Set CONFIG_NR_CPUS to 64 explicitly

Hongzhi.Song hongzhi.song at windriver.com
Mon Nov 12 18:27:20 PST 2018


Since 'CONFIG_NR_CPUS=256' was moved to intel-x86-64.cfg, seeing
commit [11917e28727], we would better explicitly set CONFIG_NR_CPUS
to 64 in intel-x86-32.cfg for a future re-org of the fragments.

And the '64' is also the default value for intel-x86-32.

Signed-off-by: Hongzhi.Song <hongzhi.song at windriver.com>
---
 bsp/intel-x86/intel-x86-32.cfg | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bsp/intel-x86/intel-x86-32.cfg b/bsp/intel-x86/intel-x86-32.cfg
index 1f5800d..6352f70 100644
--- a/bsp/intel-x86/intel-x86-32.cfg
+++ b/bsp/intel-x86/intel-x86-32.cfg
@@ -21,3 +21,6 @@ CONFIG_X86_32=y
 CONFIG_X86_BIGSMP=y
 CONFIG_X86_GENERIC=y
 CONFIG_HIGHMEM64G=y
+
+# Processor type and features
+CONFIG_NR_CPUS=64
-- 
2.8.1



More information about the linux-yocto mailing list