aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2010-02-25 12:43:07 +0200
committerAvi Kivity <avi@redhat.com>2010-04-25 13:53:32 +0300
commitd6ab1ed44627c91d0a857a430b7ec4ed8648c7a5 (patch)
treed029c6a5644b336148036a2a98d77273595d9487 /arch/x86/kvm/x86.c
parentf5c9803173848864d0c56108b9e102db0bf601de (diff)
downloadkernel_samsung_crespo-d6ab1ed44627c91d0a857a430b7ec4ed8648c7a5.zip
kernel_samsung_crespo-d6ab1ed44627c91d0a857a430b7ec4ed8648c7a5.tar.gz
kernel_samsung_crespo-d6ab1ed44627c91d0a857a430b7ec4ed8648c7a5.tar.bz2
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 d0b184b..e07b243 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 */