diff options
author | Gleb Natapov <gleb@redhat.com> | 2010-02-25 12:43:07 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-04-25 13:53:32 +0300 |
commit | d6ab1ed44627c91d0a857a430b7ec4ed8648c7a5 (patch) | |
tree | d029c6a5644b336148036a2a98d77273595d9487 /arch/x86/include | |
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/include')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 502fff123e2..e3167224d93 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -723,11 +723,6 @@ static inline void kvm_get_idt(struct desc_ptr *table) asm("sidt %0" : "=m"(*table)); } -static inline void kvm_get_gdt(struct desc_ptr *table) -{ - asm("sgdt %0" : "=m"(*table)); -} - static inline unsigned long kvm_read_tr_base(void) { u16 tr; |