summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-10-31 00:52:05 +0100
committerRichard Braun <rbraun@sceen.net>2017-10-31 00:52:05 +0100
commit10790d4b1f1f3546fa110fea313a08cce999243f (patch)
tree3248e259f46022689b4eef05559528f8488f1833
parentecdcbf2ff126903d6c791da6c93f767b07db84d6 (diff)
Rename CONFIG_MULTIPROCESSOR to CONFIG_SMP
Machine-independent code assumes SMP, and the name is shorter.
-rw-r--r--kern/Kconfig10
-rwxr-xr-xtools/build_configs.py6
2 files changed, 8 insertions, 8 deletions
diff --git a/kern/Kconfig b/kern/Kconfig
index df0cbacb..7c718d4c 100644
--- a/kern/Kconfig
+++ b/kern/Kconfig
@@ -1,16 +1,16 @@
menu "General setup"
-config MULTIPROCESSOR
+config SMP
bool "Multiprocessor support"
default y
---help---
Enable support for machines with multiple processors.
config MAX_CPUS
- int "Maximum number of supported CPUs" if MULTIPROCESSOR
- range 2 512 if MULTIPROCESSOR
- default "1" if !MULTIPROCESSOR
- default "128" if MULTIPROCESSOR
+ int "Maximum number of supported CPUs" if SMP
+ range 2 512 if SMP
+ default "1" if !SMP
+ default "128" if SMP
---help---
Maximum number of supported processors.
diff --git a/tools/build_configs.py b/tools/build_configs.py
index 96d1fbbe..00d05921 100755
--- a/tools/build_configs.py
+++ b/tools/build_configs.py
@@ -78,7 +78,7 @@ all_cc_options_dict = {
small_options_dict = {
'CONFIG_CC_OPTIONS' : gen_cc_options_list(all_cc_options_dict),
- 'CONFIG_MULTIPROCESSOR' : ['y', 'n'],
+ 'CONFIG_SMP' : ['y', 'n'],
'CONFIG_MAX_CPUS' : ['1', '128'],
'CONFIG_ASSERT' : ['y', 'n'],
}
@@ -113,11 +113,11 @@ all_filters_list = [
'CONFIG_CC_OPTIONS' : [True, re.compile('-flto')],
},
{
- 'CONFIG_MULTIPROCESSOR' : [True, 'y'],
+ 'CONFIG_SMP' : [True, 'y'],
'CONFIG_MAX_CPUS' : [True, '1'],
},
{
- 'CONFIG_MULTIPROCESSOR' : [True, 'n'],
+ 'CONFIG_SMP' : [True, 'n'],
'CONFIG_MAX_CPUS' : [False, '1'],
},
{