summaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2011-12-15 12:38:40 +0200
committerAvi Kivity <avi@redhat.com>2011-12-27 11:22:32 +0200
commitd546cb406ea0d83e2d39ec14221957a24f88a622 (patch)
tree32ed0f1cc2e56a8fcd2a24cf0db97d1326b4c9bd /include/linux/kvm_host.h
parenta647795efbedeedf8a1dc6deded26defa23562bd (diff)
downloadlinux-stable-d546cb406ea0d83e2d39ec14221957a24f88a622.tar.gz
linux-stable-d546cb406ea0d83e2d39ec14221957a24f88a622.tar.bz2
linux-stable-d546cb406ea0d83e2d39ec14221957a24f88a622.zip
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 {
struct srcu_struct srcu;
#ifdef CONFIG_KVM_APIC_ARCHITECTURE
u32 bsp_vcpu_id;
- struct kvm_vcpu *bsp_vcpu;
#endif
struct kvm_vcpu *vcpus[KVM_MAX_VCPUS];
atomic_t online_vcpus;