summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2010-02-25 11:43:07 +0100
committerAvi Kivity <avi@redhat.com>2010-04-25 12:53:32 +0200
commitd6ab1ed44627c91d0a857a430b7ec4ed8648c7a5 (patch)
treed029c6a5644b336148036a2a98d77273595d9487 /arch/x86/kvm/x86.c
parentKVM: update gfn_to_hva() to use gfn_to_hva_memslot() (diff)
downloadlinux-d6ab1ed44627c91d0a857a430b7ec4ed8648c7a5.tar.xz
linux-d6ab1ed44627c91d0a857a430b7ec4ed8648c7a5.zip
KVM: Drop kvm_get_gdt() in favor of generic linux function
Linux now has native_store_gdt() to do the same. Use it instead of kvm local version. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index d0b184b5c248..e07b243055f8 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -233,7 +233,7 @@ unsigned long segment_base(u16 selector)
if (selector == 0)
return 0;
- kvm_get_gdt(&gdt);
+ native_store_gdt(&gdt);
table_base = gdt.address;
if (selector & 4) { /* from ldt */