]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Stop using deprecated jump label APIs
authorCun Li <cun.jia.li@gmail.com>
Mon, 11 Jan 2021 15:24:35 +0000 (23:24 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Feb 2021 10:27:29 +0000 (05:27 -0500)
commitcc416fea22bf5ae1bc6cd1958095b7d4163196be
treed466df0546eecbecfd356ff2f60e08be44e6634d
parent152a94f642e39550801bfb132777575f0b3df90f
KVM: Stop using deprecated jump label APIs

The use of 'struct static_key' and 'static_key_false' is
deprecated. Use the new API.

Signed-off-by: Cun Li <cun.jia.li@gmail.com>
Message-Id: <20210111152435.50275-1-cun.jia.li@gmail.com>
[Make it compile.  While at it, rename kvm_no_apic_vcpu to
 kvm_has_noapic_vcpu; the former reads too much like "true if
 no vCPU has an APIC". - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c
arch/x86/kvm/lapic.h
arch/x86/kvm/mmu/mmu_audit.c
arch/x86/kvm/x86.c