aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx.c
diff options
context:
space:
mode:
authorWanpeng Li <wanpeng.li@linux.intel.com>2014-08-18 05:50:28 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2014-08-19 09:12:28 -0400
commit4473b570a7ebb502f63f292ccfba7df622e5fdd3 (patch)
tree7ce430e6d5bb956725282581046d92b5049b8133 /arch/x86/kvm/vmx.c
parentdc9b2d933a1d5782b70977024f862759c8ebb2f7 (diff)
KVM: x86: drop fpu_activate hook
The only user of the fpu_activate hook was dropped in commit 2d04a05bd7e9 (KVM: x86 emulator: emulate CLTS internally, 2011-04-20). vmx_fpu_activate and svm_fpu_activate are still called on #NM (and for Intel CLTS), but never from common code; hence, there's no need for a hook. Reviewed-by: Yang Zhang <yang.z.zhang@intel.com> Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r--arch/x86/kvm/vmx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index bfe11cf124a1..6a216e4762c7 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -8890,7 +8890,6 @@ static struct kvm_x86_ops vmx_x86_ops = {
8890 .cache_reg = vmx_cache_reg, 8890 .cache_reg = vmx_cache_reg,
8891 .get_rflags = vmx_get_rflags, 8891 .get_rflags = vmx_get_rflags,
8892 .set_rflags = vmx_set_rflags, 8892 .set_rflags = vmx_set_rflags,
8893 .fpu_activate = vmx_fpu_activate,
8894 .fpu_deactivate = vmx_fpu_deactivate, 8893 .fpu_deactivate = vmx_fpu_deactivate,
8895 8894
8896 .tlb_flush = vmx_flush_tlb, 8895 .tlb_flush = vmx_flush_tlb,