KVM: x86: __kvm_vcpu_halt can be static
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Родитель
774206bc03
Коммит
872f36eb0b
|
@ -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)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче