Skip to content
Commit 6e4e3b4d authored by Cun Li's avatar Cun Li Committed by Paolo Bonzini
Browse files

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: default avatarCun 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: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 14c2bf81
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