Skip to content

Commit

Permalink
KVM: x86: __kvm_vcpu_halt can be static
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
bonzini committed Jan 8, 2021
1 parent 774206b commit 872f36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kvm/x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 872f36e

Please sign in to comment.