kvm: vmx: Fix -Wmissing-prototypes warnings
authorYi Wang <wang.yi59@zte.com.cn>
Mon, 20 May 2019 04:27:47 +0000 (12:27 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 May 2019 19:27:08 +0000 (21:27 +0200)
commit4d259965655c92053f3255aca14d81aab1e21219
treeb8fc907bc48c612e0e117d8e81d4fd6b80da3f05
parent541e886f7972cc647804dbb4909189e67987a945
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>
arch/x86/kvm/vmx/vmx.h