angler-fishThe Vulnerability History Project

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>
    
commit 6e4e3b4df4e31ed679de994540f308306f12234b
+9 -16
+6 -7
+4 -4
+4 -5
expand_less