Commit 872f36eb authored by Paolo Bonzini's avatar Paolo Bonzini

KVM: x86: __kvm_vcpu_halt can be static

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 774206bc
......@@ -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)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment