]> git.baikalelectronics.ru Git - kernel.git/commitdiff
KVM/SVM: Remove leftover __svm_vcpu_run prototype from svm.c
authorUros Bizjak <ubizjak@gmail.com>
Sun, 20 Dec 2020 20:03:39 +0000 (21:03 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Jan 2021 23:07:28 +0000 (18:07 -0500)
Commit f40b1434a0e51 moved __svm_vcpu_run the prototype to svm.h,
but forgot to remove the original from svm.c.

Fixes: f40b1434a0e51 ("KVM: SVM: Provide an updated VMRUN invocation for SEV-ES guests")
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Message-Id: <20201220200339.65115-1-ubizjak@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c

index cce0143a6f8015a61a575dc66ec3a3ce3a7cc28a..6824d611dc5dd48c10ca64333f97883dd5d489f4 100644 (file)
@@ -3677,8 +3677,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)
 {