diff options
author | Avi Kivity <avi@qumranet.com> | 2008-02-20 10:57:21 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-27 04:53:24 -0400 |
commit | a5f61300c489e334ddf99781a13a7f8d4b580781 (patch) | |
tree | 54d9587f08ddfc847aebfdff17cb4d6e9ec25ad7 /arch/x86/kvm/vmx.c | |
parent | ef2979bd98dac86ea6a4cd9bdd6820a466108017 (diff) |
KVM: Use x86's segment descriptor struct instead of private definition
The x86 desc_struct unification allows us to remove segment_descriptor.h.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r-- | arch/x86/kvm/vmx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 2d5ccec3f9e7..f46ad03c2521 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
@@ -17,7 +17,6 @@ | |||
17 | 17 | ||
18 | #include "irq.h" | 18 | #include "irq.h" |
19 | #include "vmx.h" | 19 | #include "vmx.h" |
20 | #include "segment_descriptor.h" | ||
21 | #include "mmu.h" | 20 | #include "mmu.h" |
22 | 21 | ||
23 | #include <linux/kvm_host.h> | 22 | #include <linux/kvm_host.h> |
@@ -388,7 +387,7 @@ static void reload_tss(void) | |||
388 | * VT restores TR but not its size. Useless. | 387 | * VT restores TR but not its size. Useless. |
389 | */ | 388 | */ |
390 | struct descriptor_table gdt; | 389 | struct descriptor_table gdt; |
391 | struct segment_descriptor *descs; | 390 | struct desc_struct *descs; |
392 | 391 | ||
393 | get_gdt(&gdt); | 392 | get_gdt(&gdt); |
394 | descs = (void *)gdt.base; | 393 | descs = (void *)gdt.base; |