提交 aebac993 编写于 作者: M Markos Chandras 提交者: Ralf Baechle

MIPS: kernel: entry.S: Set correct ISA level for mips_ihb

Commit 6ebb496f("MIPS: kernel: entry.S: Add MIPS R6 related
definitions") added the MIPSR6 definition but it did not update the
ISA level of the actual assembly code so a pre-MIPSR6 jr.hb instruction
was generated instead. Fix this by using the MISP_ISA_LEVEL_RAW macro.
Signed-off-by: NMarkos Chandras <markos.chandras@imgtec.com>
Fixes: 6ebb496f("MIPS: kernel: entry.S: Add MIPS R6 related definitions")
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9386/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 51822216
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <asm/asm.h> #include <asm/asm.h>
#include <asm/asmmacro.h> #include <asm/asmmacro.h>
#include <asm/compiler.h>
#include <asm/regdef.h> #include <asm/regdef.h>
#include <asm/mipsregs.h> #include <asm/mipsregs.h>
#include <asm/stackframe.h> #include <asm/stackframe.h>
...@@ -185,7 +186,7 @@ syscall_exit_work: ...@@ -185,7 +186,7 @@ syscall_exit_work:
* For C code use the inline version named instruction_hazard(). * For C code use the inline version named instruction_hazard().
*/ */
LEAF(mips_ihb) LEAF(mips_ihb)
.set mips32r2 .set MIPS_ISA_LEVEL_RAW
jr.hb ra jr.hb ra
nop nop
END(mips_ihb) END(mips_ihb)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册