diff options
-rw-r--r-- | cfg/smp.scc | 2 | ||||
-rw-r--r-- | cfg/smp_64.cfg | 5 | ||||
-rw-r--r-- | cfg/smp_64.scc | 4 | ||||
-rw-r--r-- | cfg/x86_64.scc | 2 |
4 files changed, 11 insertions, 2 deletions
diff --git a/cfg/smp.scc b/cfg/smp.scc index f697ce59..bf1e9bf6 100644 --- a/cfg/smp.scc +++ b/cfg/smp.scc @@ -1,4 +1,4 @@ -define KFEATURE_DESCRIPTION "Enable SMP" +define KFEATURE_DESCRIPTION "Enable SMP for 32 bit builds" define KFEATURE_COMPATIBILITY all kconf hardware smp.cfg 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 diff --git a/cfg/smp_64.scc b/cfg/smp_64.scc new file mode 100644 index 00000000..e8b54e39 --- /dev/null +++ b/cfg/smp_64.scc @@ -0,0 +1,4 @@ +define KFEATURE_DESCRIPTION "Enable SMP for 64 bit builds" +define KFEATURE_COMPATIBILITY all + +kconf hardware smp_64.cfg diff --git a/cfg/x86_64.scc b/cfg/x86_64.scc index e792ac3b..9e9af11b 100644 --- a/cfg/x86_64.scc +++ b/cfg/x86_64.scc @@ -1,4 +1,4 @@ include x86_base.scc -include smp.scc +include smp_64.scc include timer/hz_1000.scc kconf hardware x86_64.cfg |