summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2018-06-11 16:23:40 +0100
committerMark Brown <broonie@kernel.org>2018-06-11 16:23:40 +0100
commit6a7e8a0fcb9091a7a1a66c2dd7cfbbb930cd41db (patch)
tree033a4abf3c646ae20b97fb5847810e3fd8b80139 /init
parenta794bca783fd36c5d3da00fc99a54deac92d4702 (diff)
parentdc45cafe612ec6960fe728f3260a0b751c73f4aa (diff)
Merge tag 'v4.4.136' into linux-linaro-lsk-v4.4
This is the 4.4.136 stable release
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index c21b1bff5d8f..9f9b1f6734b8 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1308,6 +1308,17 @@ source "usr/Kconfig"
endif
+choice
+ prompt "Compiler optimization level"
+ default CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE
+
+config CC_OPTIMIZE_FOR_PERFORMANCE
+ bool "Optimize for performance"
+ help
+ This is the default optimization level for the kernel, building
+ with the "-O2" compiler flag for best performance and most
+ helpful compile-time warnings.
+
config CC_OPTIMIZE_FOR_SIZE
bool "Optimize for size"
help
@@ -1316,6 +1327,8 @@ config CC_OPTIMIZE_FOR_SIZE
If unsure, say N.
+endchoice
+
config SYSCTL
bool