]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
KVM: SVM: Fix __svm_vcpu_run declaration.
authorUros Bizjak <ubizjak@gmail.com>
Thu, 9 Apr 2020 11:49:26 +0000 (13:49 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Apr 2020 16:08:39 +0000 (12:08 -0400)
The function returns no value.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Fixes: 199cd1d7b534 ("KVM: SVM: Split svm_vcpu_run inline assembly to separate file")
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Message-Id: <20200409114926.1407442-1-ubizjak@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c

index 683f3817f89600302444ddfa5d211b1b63c9a8a2..2f379bacbb26a3750157f80456a8d6321fa53ad2 100644 (file)
@@ -3276,7 +3276,7 @@ static void svm_cancel_injection(struct kvm_vcpu *vcpu)
        svm_complete_interrupts(svm);
 }
 
-bool __svm_vcpu_run(unsigned long vmcb_pa, unsigned long *regs);
+void __svm_vcpu_run(unsigned long vmcb_pa, unsigned long *regs);
 
 static void svm_vcpu_run(struct kvm_vcpu *vcpu)
 {