diff options
author | Borislav Petkov <bp@suse.de> | 2022-01-27 12:56:26 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-04-04 10:17:05 +0200 |
commit | f8858b5eff30d1b2be15ef1ea6285964013b95e6 (patch) | |
tree | eb4917bd7822c331e3b31a36756e6c326cffaa40 /arch/x86 | |
parent | 76ea0025a214cdf0d2c204f4c21cbffa9fb57c32 (diff) | |
download | linux-stable-f8858b5eff30d1b2be15ef1ea6285964013b95e6.tar.gz linux-stable-f8858b5eff30d1b2be15ef1ea6285964013b95e6.tar.bz2 linux-stable-f8858b5eff30d1b2be15ef1ea6285964013b95e6.zip |
x86/cpu: Remove "noclflush"
Not really needed anymore and there's clearcpuid=.
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220127115626.14179-7-bp@alien8.de
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index 5791f692d67e..7dd7604cf46a 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c @@ -1870,14 +1870,6 @@ void identify_secondary_cpu(struct cpuinfo_x86 *c) update_srbds_msr(); } -static __init int setup_noclflush(char *arg) -{ - setup_clear_cpu_cap(X86_FEATURE_CLFLUSH); - setup_clear_cpu_cap(X86_FEATURE_CLFLUSHOPT); - return 1; -} -__setup("noclflush", setup_noclflush); - void print_cpu_info(struct cpuinfo_x86 *c) { const char *vendor = NULL; |