From: Avi Kivity Date: Wed, 5 Mar 2008 07:33:44 +0000 (+0200) Subject: KVM: Remove pointless desc_ptr #ifdef X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4fcaa98267efc4d39ded9b0bc33c6b4a2f62fecd;p=openwrt%2Fstaging%2Fblogic.git KVM: Remove pointless desc_ptr #ifdef The desc_struct changes left an unnecessary #ifdef; remove it. Signed-off-by: Avi Kivity --- 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) 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();