summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_host.h
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/include/asm/kvm_host.h
parentf5c9803173848864d0c56108b9e102db0bf601de (diff)
downloadop-kernel-dev-d6ab1ed44627c91d0a857a430b7ec4ed8648c7a5.zip
op-kernel-dev-d6ab1ed44627c91d0a857a430b7ec4ed8648c7a5.tar.gz
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/asm/kvm_host.h')
-rw-r--r--arch/x86/include/asm/kvm_host.h5
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 502fff1..e316722 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;
OpenPOWER on IntegriCloud