summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2008-03-05 10:33:44 +0300
committerAvi Kivity <avi@qumranet.com>2008-04-27 12:53:27 +0400
commit4fcaa98267efc4d39ded9b0bc33c6b4a2f62fecd (patch)
treed078b35ea7744f3dc3c2549ad5ef01073dd99e96
parent019960ae9933161c2809fa4ee608ba30d9639fd2 (diff)
downloadlinux-4fcaa98267efc4d39ded9b0bc33c6b4a2f62fecd.tar.xz
KVM: Remove pointless desc_ptr #ifdef
The desc_struct changes left an unnecessary #ifdef; remove it. Signed-off-by: Avi Kivity <avi@qumranet.com>
-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)
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();