aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2008-03-05 02:33:44 -0500
committerAvi Kivity <avi@qumranet.com>2008-04-27 04:53:27 -0400
commit4fcaa98267efc4d39ded9b0bc33c6b4a2f62fecd (patch)
treed078b35ea7744f3dc3c2549ad5ef01073dd99e96 /arch/x86/kvm/svm.c
parent019960ae9933161c2809fa4ee608ba30d9639fd2 (diff)
KVM: Remove pointless desc_ptr #ifdef
The desc_struct changes left an unnecessary #ifdef; remove it. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r--arch/x86/kvm/svm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index b2c667fe6832..51741f96e7fb 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -290,11 +290,7 @@ static void svm_hardware_enable(void *garbage)
290 290
291 struct svm_cpu_data *svm_data; 291 struct svm_cpu_data *svm_data;
292 uint64_t efer; 292 uint64_t efer;
293#ifdef CONFIG_X86_64
294 struct desc_ptr gdt_descr;
295#else
296 struct desc_ptr gdt_descr; 293 struct desc_ptr gdt_descr;
297#endif
298 struct desc_struct *gdt; 294 struct desc_struct *gdt;
299 int me = raw_smp_processor_id(); 295 int me = raw_smp_processor_id();
300 296