MIPS: KVM: Add missing disable FPU hazard barriers
authorJames Hogan <james.hogan@imgtec.com>
Fri, 22 Apr 2016 09:38:49 +0000 (10:38 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 May 2016 13:56:52 +0000 (15:56 +0200)
commit4ac334295e4f3b996e9feabe36e79e44bf77a06f
tree028788c32aaec2ad3e192a534a0fa3823047cf8d
parent556f2a5231bf3ec4ce98d46434920e31787f79d6
MIPS: KVM: Add missing disable FPU hazard barriers

Add the necessary hazard barriers after disabling the FPU in
kvm_lose_fpu(), just to be safe.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Radim KrÄ\8dmář" <rkrcmar@redhat.com>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/mips.c