KVM: x86: __kvm_vcpu_halt can be static

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2021-01-08 05:54:44 -05:00
parent 774206bc03
commit 872f36eb0b

View File

@ -7976,7 +7976,7 @@ void kvm_arch_exit(void)
kmem_cache_destroy(x86_fpu_cache);
}
int __kvm_vcpu_halt(struct kvm_vcpu *vcpu, int state, int reason)
static int __kvm_vcpu_halt(struct kvm_vcpu *vcpu, int state, int reason)
{
++vcpu->stat.halt_exits;
if (lapic_in_kernel(vcpu)) {