summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2020-04-09 14:49:26 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2020-04-15 19:08:39 +0300
commit56a87e5d997b722acf2a5dd5c938d574d8c95da6 (patch)
tree2addbdd1c12d2a6887bf77c31448cb7c614615b0 /arch
parentb61f62d408959a37bb6b19f9521b682aec3a5601 (diff)
downloadlinux-56a87e5d997b722acf2a5dd5c938d574d8c95da6.tar.xz
KVM: SVM: Fix __svm_vcpu_run declaration.
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/svm/svm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm/svm.c b/arch/x86/kvm/svm/svm.c
index 683f3817f896..2f379bacbb26 100644
--- a/arch/x86/kvm/svm/svm.c
+++ b/arch/x86/kvm/svm/svm.c
@@ -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)
{