From: Keir Fraser Date: Tue, 22 Nov 2011 12:53:48 +0000 (+0000) Subject: x86,vmx: Remove broken and unused __vmptrst(). X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=07b6d6bea1b50036fa5df34b946d54851b70e739;p=xen.git x86,vmx: Remove broken and unused __vmptrst(). Signed-off-by: Keir Fraser --- diff --git a/xen/include/asm-x86/hvm/vmx/vmx.h b/xen/include/asm-x86/hvm/vmx/vmx.h index dd620b943e..03cb7d97b5 100644 --- a/xen/include/asm-x86/hvm/vmx/vmx.h +++ b/xen/include/asm-x86/hvm/vmx/vmx.h @@ -231,15 +231,6 @@ static inline void __vmptrld(u64 addr) : "memory"); } -static inline void __vmptrst(u64 addr) -{ - asm volatile ( VMPTRST_OPCODE - MODRM_EAX_07 - : - : "a" (&addr) - : "memory"); -} - static inline void __vmpclear(u64 addr) { asm volatile ( VMCLEAR_OPCODE