KVM/SVM: Remove leftover __svm_vcpu_run prototype from svm.c
PATCH 1/1 KVM/SVM: Remove leftover __svm_vcpu_run prototype from svm.c
Commit 16809ecdc1e8a moved __svm_vcpu_run the prototype to svm.h, but forgot to remove the original from svm.c.
Fixes 16809ecdc1e8a ("KVM: SVM: Provide an updated VMRUN invocation for SEV-ES guests")
Cc Tom Lendacky <[email protected]>
Cc Paolo Bonzini <[email protected]>
Signed-off-by Uros Bizjak <[email protected]>
--- arch/x86/kvm/svm/svm.c | 2 -- 1 file changed, 2 deletions(-)
arch/x86/kvm/svm/svm.c +0 -2
@@ -3675,8 +3675,6 @@ static fastpath_t svm_exit_handlers_fastpath(struct kvm_vcpu *vcpu)return EXIT_FASTPATH_NONE ; } -void __svm_vcpu_run (unsigned long vmcb_pa,unsigned long *regs); - static noinstr void svm_vcpu_enter_exit(struct kvm_vcpu *vcpu,struct vcpu_svm *svm) {
Signature · 1 line
2.26.2
Quoted 17 lines · Uros Bizjak
Commit
16809ecdc1e8amoved__svm_vcpu_runthe prototype tosvm.h, but forgot to remove the original fromsvm.c.Fixes 16809ecdc1e8a ("KVM: SVM: Provide an updated VMRUN invocation for SEV-ES guests")Cc Tom Lendacky <[email protected]>Cc Paolo Bonzini <[email protected]>Signed-off-by Uros Bizjak <[email protected]>--- arch/x86/kvm/svm/svm.c | 2 -- 1 file changed, 2 deletions(-)arch/x86/kvm/svm/svm.c +0
-0
arch/x86/kvm/svm/svm.c static fastpath_t svm_exit_handlers_fastpath(struct kvm_vcpu *vcpu) · line 3680
Quoted 8 lines
arch/x86/kvm/svm/svm.c +0
-2@@ -3675,8 +3675,6 @@ static fastpath_t svm_exit_handlers_fastpath(struct kvm_vcpu *vcpu)return EXIT_FASTPATH_NONE ; } -void __svm_vcpu_run (unsigned long vmcb_pa,unsigned long *regs); - static noinstr void svm_vcpu_enter_exit(struct kvm_vcpu *vcpu,struct vcpu_svm *svm) {
Queued, thanks.
Paolo