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>
This commit is contained in:
Gleb Natapov
2010-02-25 12:43:07 +02:00
committed by Avi Kivity
parent f5c9803173
commit d6ab1ed446
4 changed files with 4 additions and 9 deletions

View File

@@ -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 */