aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2010-05-17 05:08:27 -0400
committerAvi Kivity <avi@redhat.com>2010-08-01 03:35:48 -0400
commit7cf30855e02be7a207ffebb8b9350986f2ba83e9 (patch)
tree114f0f2dfbe425bfb7736ebbeb1655c23d636db4 /arch/x86/include
parent5ee481da7b62a992b91f958bf26aaaa92354c170 (diff)
KVM: x86: Use unlazy_fpu() for host FPU
We can avoid unnecessary fpu load when userspace process didn't use FPU frequently. Derived from Avi's idea. Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/kvm_host.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 0c06148fa3b1..d93601c52902 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -301,7 +301,6 @@ struct kvm_vcpu_arch {
301 unsigned long mmu_seq; 301 unsigned long mmu_seq;
302 } update_pte; 302 } update_pte;
303 303
304 struct i387_fxsave_struct host_fx_image;
305 struct i387_fxsave_struct guest_fx_image; 304 struct i387_fxsave_struct guest_fx_image;
306 305
307 gva_t mmio_fault_cr2; 306 gva_t mmio_fault_cr2;