diff options
-rw-r--r-- | arch/x86/kernel/cpu/bugs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c index 850005590167..4c7b0fa15a19 100644 --- a/arch/x86/kernel/cpu/bugs.c +++ b/arch/x86/kernel/cpu/bugs.c | |||
@@ -886,10 +886,6 @@ static void update_mds_branch_idle(void) | |||
886 | 886 | ||
887 | void cpu_bugs_smt_update(void) | 887 | void cpu_bugs_smt_update(void) |
888 | { | 888 | { |
889 | /* Enhanced IBRS implies STIBP. No update required. */ | ||
890 | if (spectre_v2_enabled == SPECTRE_V2_IBRS_ENHANCED) | ||
891 | return; | ||
892 | |||
893 | mutex_lock(&spec_ctrl_mutex); | 889 | mutex_lock(&spec_ctrl_mutex); |
894 | 890 | ||
895 | switch (spectre_v2_user) { | 891 | switch (spectre_v2_user) { |