]> err.no Git - linux-2.6/commitdiff
KVM: Remove pointless desc_ptr #ifdef
authorAvi Kivity <avi@qumranet.com>
Wed, 5 Mar 2008 07:33:44 +0000 (09:33 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 08:53:27 +0000 (11:53 +0300)
The desc_struct changes left an unnecessary #ifdef; remove it.

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/svm.c

index b2c667fe6832c4a5e36e4b831df2becde15abc6d..51741f96e7fb06d80721542eff09cf2b00ed54d7 100644 (file)
@@ -290,11 +290,7 @@ static void svm_hardware_enable(void *garbage)
 
        struct svm_cpu_data *svm_data;
        uint64_t efer;
-#ifdef CONFIG_X86_64
-       struct desc_ptr gdt_descr;
-#else
        struct desc_ptr gdt_descr;
-#endif
        struct desc_struct *gdt;
        int me = raw_smp_processor_id();