aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2011-12-15 05:38:40 -0500
committerAvi Kivity <avi@redhat.com>2011-12-27 04:22:32 -0500
commitd546cb406ea0d83e2d39ec14221957a24f88a622 (patch)
tree32ed0f1cc2e56a8fcd2a24cf0db97d1326b4c9bd /include/linux/kvm_host.h
parenta647795efbedeedf8a1dc6deded26defa23562bd (diff)
KVM: drop bsp_vcpu pointer from kvm struct
Drop bsp_vcpu pointer from kvm struct since its only use is incorrect anyway. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r--include/linux/kvm_host.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 8c5c30361b0d..7a080383935f 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -251,7 +251,6 @@ struct kvm {
251 struct srcu_struct srcu; 251 struct srcu_struct srcu;
252#ifdef CONFIG_KVM_APIC_ARCHITECTURE 252#ifdef CONFIG_KVM_APIC_ARCHITECTURE
253 u32 bsp_vcpu_id; 253 u32 bsp_vcpu_id;
254 struct kvm_vcpu *bsp_vcpu;
255#endif 254#endif
256 struct kvm_vcpu *vcpus[KVM_MAX_VCPUS]; 255 struct kvm_vcpu *vcpus[KVM_MAX_VCPUS];
257 atomic_t online_vcpus; 256 atomic_t online_vcpus;