summaryrefslogtreecommitdiff
path: root/arch/s390/Kconfig
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2017-11-14 15:20:24 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2017-11-14 22:08:12 +0100
commit049a2c2d486e8cc82c5cd79fa479c5b105b109e9 (patch)
tree733a9f508b2700c9a41f9efec9283a48b68cb526 /arch/s390/Kconfig
parenta6de0a91d93a47f812cf43b96ba6e639de6df6d5 (diff)
s390: enable CPU alternatives unconditionally
Remove the CPU_ALTERNATIVES config option and enable the code unconditionally. The config option was only added to avoid a conflict with the named saved segment support. Since that code is gone there is no reason to keep the CPU_ALTERNATIVES config option. Just enable it unconditionally to also reduce the number of config options and make it less likely that something breaks. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r--arch/s390/Kconfig16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index f5beccbe74d8..84767046daff 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -539,22 +539,6 @@ config ARCH_RANDOM
If unsure, say Y.
-config ALTERNATIVES
- def_bool y
- prompt "Patch optimized instructions for running CPU type"
- help
- When enabled the kernel code is compiled with additional
- alternative instructions blocks optimized for newer CPU types.
- These alternative instructions blocks are patched at kernel boot
- time when running CPU supports them. This mechanism is used to
- optimize some critical code paths (i.e. spinlocks) for newer CPUs
- even if kernel is build to support older machine generations.
-
- This mechanism could be disabled by appending "noaltinstr"
- option to the kernel command line.
-
- If unsure, say Y.
-
endmenu
menu "Memory setup"