projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: Fix branch emulation for BLTC and BGEC instructions
[linux-drm-fsl-dcu.git]
/
arch
/
mips
/
kernel
/
branch.c
diff --git
a/arch/mips/kernel/branch.c
b/arch/mips/kernel/branch.c
index c0c5e5972256e95273d7e34a0b4c3c4132232cd0..d8f9b357b2226bef0141c8ed6340baa8fb7c0f4f 100644
(file)
--- a/
arch/mips/kernel/branch.c
+++ b/
arch/mips/kernel/branch.c
@@
-600,7
+600,7
@@
int __compute_return_epc_for_insn(struct pt_regs *regs,
break;
case blezl_op: /* not really i_format */
- if (NO_R6EMU)
+ if (
!insn.i_format.rt &&
NO_R6EMU)
goto sigill_r6;
case blez_op:
/*
@@
-635,7
+635,7
@@
int __compute_return_epc_for_insn(struct pt_regs *regs,
break;
case bgtzl_op:
- if (NO_R6EMU)
+ if (
!insn.i_format.rt &&
NO_R6EMU)
goto sigill_r6;
case bgtz_op:
/*