diff options
author | 2019-05-20 12:27:47 +0800 | |
---|---|---|
committer | 2019-05-24 21:27:08 +0200 | |
commit | 4d259965655c92053f3255aca14d81aab1e21219 (patch) | |
tree | b8fc907bc48c612e0e117d8e81d4fd6b80da3f05 /kernel | |
parent | KVM: nVMX: Fix using __this_cpu_read() in preemptible context (diff) | |
download | linux-dev-4d259965655c92053f3255aca14d81aab1e21219.tar.xz linux-dev-4d259965655c92053f3255aca14d81aab1e21219.zip |
kvm: vmx: Fix -Wmissing-prototypes warnings
We get a warning when build kernel W=1:
arch/x86/kvm/vmx/vmx.c:6365:6: warning: no previous prototype for ‘vmx_update_host_rsp’ [-Wmissing-prototypes]
void vmx_update_host_rsp(struct vcpu_vmx *vmx, unsigned long host_rsp)
Add the missing declaration to fix this.
Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions