diff options
author | Gleb Natapov <gleb@redhat.com> | 2010-02-25 05:43:07 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-04-25 06:53:32 -0400 |
commit | d6ab1ed44627c91d0a857a430b7ec4ed8648c7a5 (patch) | |
tree | d029c6a5644b336148036a2a98d77273595d9487 /arch/x86/kvm/x86.c | |
parent | f5c9803173848864d0c56108b9e102db0bf601de (diff) |
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.c | 2 |
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) | |||
233 | if (selector == 0) | 233 | if (selector == 0) |
234 | return 0; | 234 | return 0; |
235 | 235 | ||
236 | kvm_get_gdt(&gdt); | 236 | native_store_gdt(&gdt); |
237 | table_base = gdt.address; | 237 | table_base = gdt.address; |
238 | 238 | ||
239 | if (selector & 4) { /* from ldt */ | 239 | if (selector & 4) { /* from ldt */ |