Merge branch 'linus' into x86/fpu
authorIngo Molnar <mingo@kernel.org>
Sat, 23 May 2015 14:47:12 +0000 (16:47 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 25 May 2015 07:39:19 +0000 (09:39 +0200)
Resolve semantic conflict in arch/x86/kvm/cpuid.c with:

  c447e76b4cab ("kvm/fpu: Enable eager restore kvm FPU for MPX")

By removing the FPU internal include files.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
1  2 
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/cpuid.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c

Simple merge
Simple merge
Simple merge
index e14a7a65e975b025fbe02e17bc5f82b114f844db,ea306adbbc13603591d46d3f062cc20cf1bc37d1..989cfc01e2a5e298f16c7ab2d7fe8a7186910fe7
@@@ -7042,10 -7057,12 +7042,12 @@@ void kvm_put_guest_fpu(struct kvm_vcpu 
                return;
  
        vcpu->guest_fpu_loaded = 0;
 -      fpu_save_init(&vcpu->arch.guest_fpu);
 +      copy_fpregs_to_fpstate(&vcpu->arch.guest_fpu);
        __kernel_fpu_end();
        ++vcpu->stat.fpu_reload;
-       kvm_make_request(KVM_REQ_DEACTIVATE_FPU, vcpu);
+       if (!vcpu->arch.eager_fpu)
+               kvm_make_request(KVM_REQ_DEACTIVATE_FPU, vcpu);
        trace_kvm_fpu(0);
  }