Skip to contentSkip to conversation

kvm: x86: Remove stale declaration of kvm_no_apic_vcpu

PATCH Applied Jim Mattson 2 participants 2 messages Oct 21, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvm: x86: Remove stale declaration of kvm_no_apic_vcpu

This variable was renamed to kvm_has_noapic_vcpu in commit 6e4e3b4df4e3 ("KVM: Stop using deprecated jump label APIs").

---
 arch/x86/kvm/x86.h | 2 --
 1 file changed, 2 deletions(-)
arch/x86/kvm/x86.h +0 -2
index 7d66d63dc55a..ea264c4502e4 100644
@@ -343,8 +343,6 @@ extern bool enable_vmware_backdoor;
 
 extern int pi_inject_timer;
 
-extern struct static_key kvm_no_apic_vcpu;
-
 extern bool report_ignored_msrs;
 
 static inline u64 nsec_to_cycles(struct kvm_vcpu *vcpu, u64 nsec)
Signature · 1 line
2.33.0.1079.g6e70778dc9-goog
maintainer Applied
#1 lore raw
Quoted 14 lines · Jim Mattson

This variable was renamed to kvm_has_noapic_vcpu in commit 6e4e3b4df4e3 ("KVM: Stop using deprecated jump label APIs").

---
  arch/x86/kvm/x86.h | 2 --
  1 file changed, 2 deletions(-)
arch/x86/kvm/x86.h +0 -0
index 7d66d63dc55a..ea264c4502e4 100644

arch/x86/kvm/x86.h extern bool enable_vmware_backdoor; · line 348

Quoted 8 lines
arch/x86/kvm/x86.h +0 -2
@@ -343,8 +343,6 @@ extern bool enable_vmware_backdoor;
 
  extern int pi_inject_timer;
 
-extern struct static_key kvm_no_apic_vcpu;
-
  extern bool report_ignored_msrs;
 
  static inline u64 nsec_to_cycles(struct kvm_vcpu *vcpu, u64 nsec)

Queued, thanks.

Paolo