Skip to content

Commit aebac99

Browse files
Markos Chandrasralfbaechle
authored andcommitted
MIPS: kernel: entry.S: Set correct ISA level for mips_ihb
Commit 6ebb496("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: Markos Chandras <markos.chandras@imgtec.com> Fixes: 6ebb496("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: Ralf Baechle <ralf@linux-mips.org>
1 parent 5182221 commit aebac99

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎arch/mips/kernel/entry.S‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
#include <asm/asm.h>
1212
#include <asm/asmmacro.h>
13+
#include <asm/compiler.h>
1314
#include <asm/regdef.h>
1415
#include <asm/mipsregs.h>
1516
#include <asm/stackframe.h>
@@ -185,7 +186,7 @@ syscall_exit_work:
185186
* For C code use the inline version named instruction_hazard().
186187
*/
187188
LEAF(mips_ihb)
188-
.set mips32r2
189+
.set MIPS_ISA_LEVEL_RAW
189190
jr.hb ra
190191
nop
191192
END(mips_ihb)

0 commit comments

Comments
 (0)