diff options
author | James Hogan <james.hogan@imgtec.com> | 2016-07-04 19:35:10 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-07-05 16:09:13 +0200 |
commit | d85ebff0073c783f0c74dc0e08c348f6f2d807c7 (patch) | |
tree | 694af618fca2fb38e260d44c728e12865836029d /arch/mips/kvm/fpu.S | |
parent | d14740fed8f12beb59d3087df985097c008e868e (diff) | |
download | blackbird-obmc-linux-d85ebff0073c783f0c74dc0e08c348f6f2d807c7.tar.gz blackbird-obmc-linux-d85ebff0073c783f0c74dc0e08c348f6f2d807c7.zip |
MIPS: KVM: Fix pre-r6 ll/sc instructions on r6
The atomic KVM register access macros in kvm_host.h (for the guest Cause
register with KVM in trap & emulate mode) use ll/sc instructions,
however they still .set mips3, which causes pre-MIPSr6 instruction
encodings to be emitted, even for a MIPSr6 build.
Fix it to use MIPS_ISA_ARCH_LEVEL as other parts of arch/mips already
do.
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/kvm/fpu.S')
0 files changed, 0 insertions, 0 deletions