]> 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)
commit8ae00f46d04d99577ef22bfee5bd6f12a00f76d6
treed466df0546eecbecfd356ff2f60e08be44e6634d
parent5f062dbfe6ebeb1327cc8a5b160751262f2bc896
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