summaryrefslogtreecommitdiffstats
path: root/cfg/smp_64.cfg
diff options
context:
space:
mode:
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>2017-06-30 18:52:36 -0700
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-07-03 22:55:46 -0400
commit4db1e69d873ba53a6d0ca8ba86da2a1157e431f6 (patch)
treeac86666540f5b9a20d738f0436ad26612316ca4b /cfg/smp_64.cfg
parent76fdd259bc390add9d7f8d235a393d46cde74ead (diff)
downloadyocto-kernel-cache-4db1e69d873ba53a6d0ca8ba86da2a1157e431f6.tar.gz
yocto-kernel-cache-4db1e69d873ba53a6d0ca8ba86da2a1157e431f6.tar.bz2
yocto-kernel-cache-4db1e69d873ba53a6d0ca8ba86da2a1157e431f6.zip
smp: Separate smp into 32 and 64 bit versions to avoid kernel warnings
When selecting SMP, some dependencies are needed, in the case of a 32 bit build CONFIG_X86_BIGSMP=y is required, but adding that to a 64 bit build causes warnings to be shown since X86_BIGSMP requires X86_32 [n] itself, which can only be true for a 32 bit build. This patch creates a 64 bit version of smp (smp_64), avoiding the dependecy issues. [YOCTO #11742] Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'cfg/smp_64.cfg')
-rw-r--r--cfg/smp_64.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/cfg/smp_64.cfg b/cfg/smp_64.cfg
new file mode 100644
index 00000000..22047746
--- /dev/null
+++ b/cfg/smp_64.cfg
@@ -0,0 +1,5 @@
+CONFIG_SMP=y
+CONFIG_SCHED_SMT=y
+# Increase default NR_CPUS from 8 to 64 so that platform with
+# more than 8 processors can be all activated at boot time
+CONFIG_NR_CPUS=64