]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
KVM: x86: drop fpu_activate hook
authorWanpeng Li <wanpeng.li@linux.intel.com>
Mon, 18 Aug 2014 09:50:28 +0000 (17:50 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 Aug 2014 13:12:28 +0000 (15:12 +0200)
commit4473b570a7ebb502f63f292ccfba7df622e5fdd3
tree7ce430e6d5bb956725282581046d92b5049b8133
parentdc9b2d933a1d5782b70977024f862759c8ebb2f7
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>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c