aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/kvm_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 0604d56f6eed..4ea42c950539 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -538,7 +538,7 @@ static inline void kvm_irqfd_release(struct kvm *kvm) {}
538#ifdef CONFIG_KVM_APIC_ARCHITECTURE 538#ifdef CONFIG_KVM_APIC_ARCHITECTURE
539static inline bool kvm_vcpu_is_bsp(struct kvm_vcpu *vcpu) 539static inline bool kvm_vcpu_is_bsp(struct kvm_vcpu *vcpu)
540{ 540{
541 return vcpu->kvm->bsp_vcpu == vcpu; 541 return vcpu->kvm->bsp_vcpu_id == vcpu->vcpu_id;
542} 542}
543#endif 543#endif
544#endif 544#endif