]> git.ipfire.org Git - thirdparty/kernel/linux.git/blobdiff - arch/x86/kvm/vmx/vmx.c
Merge branch 'x86/bugs' into x86/core, to pick up pending changes before dependent...
[thirdparty/kernel/linux.git] / arch / x86 / kvm / vmx / vmx.c
index 1111d9d089038b2f17b372891a235222b74f87bf..ebf11ef59f03c612b7ae48ebeee97519f9eb59eb 100644 (file)
@@ -6543,7 +6543,7 @@ static int __vmx_handle_exit(struct kvm_vcpu *vcpu, fastpath_t exit_fastpath)
 
        if (exit_reason.basic >= kvm_vmx_max_exit_handlers)
                goto unexpected_vmexit;
-#ifdef CONFIG_RETPOLINE
+#ifdef CONFIG_MITIGATION_RETPOLINE
        if (exit_reason.basic == EXIT_REASON_MSR_WRITE)
                return kvm_emulate_wrmsr(vcpu);
        else if (exit_reason.basic == EXIT_REASON_PREEMPTION_TIMER)