diff options
author | Avi Kivity <avi@qumranet.com> | 2008-02-20 15:57:21 (GMT) |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-27 08:53:24 (GMT) |
commit | a5f61300c489e334ddf99781a13a7f8d4b580781 (patch) | |
tree | 54d9587f08ddfc847aebfdff17cb4d6e9ec25ad7 /arch/x86/kvm/vmx.c | |
parent | ef2979bd98dac86ea6a4cd9bdd6820a466108017 (diff) | |
download | linux-fsl-qoriq-a5f61300c489e334ddf99781a13a7f8d4b580781.tar.xz |
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 2d5ccec..f46ad03 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -17,7 +17,6 @@ #include "irq.h" #include "vmx.h" -#include "segment_descriptor.h" #include "mmu.h" #include <linux/kvm_host.h> @@ -388,7 +387,7 @@ static void reload_tss(void) * VT restores TR but not its size. Useless. */ struct descriptor_table gdt; - struct segment_descriptor *descs; + struct desc_struct *descs; get_gdt(&gdt); descs = (void *)gdt.base; |