summaryrefslogtreecommitdiff
path: root/arch/mips/mm/c-r3k.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2016-07-04 21:35:09 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2016-07-05 17:09:11 +0300
commitd14740fed8f12beb59d3087df985097c008e868e (patch)
treefec07832737476528eef43c226f7489725db9593 /arch/mips/mm/c-r3k.c
parent1b492600068d5fbd033196ce2bdb28735a23747e (diff)
downloadlinux-d14740fed8f12beb59d3087df985097c008e868e.tar.xz
MIPS: KVM: Fix fpu.S misassembly with r6
__kvm_save_fpu and __kvm_restore_fpu use .set mips64r2 so that they can access the odd FPU registers as well as the even, however this causes misassembly of the return instruction on MIPSr6. Fix by replacing .set mips64r2 with .set fp=64, which doesn't change the architecture revision. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim KrÄmář <rkrcmar@redhat.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/mm/c-r3k.c')
0 files changed, 0 insertions, 0 deletions