|
@@ -473,10 +473,8 @@ int __compute_return_epc_for_insn(struct pt_regs *regs,
|
|
|
case bltzal_op:
|
|
|
case bltzall_op:
|
|
|
if (NO_R6EMU && (insn.i_format.rs ||
|
|
|
- insn.i_format.rt == bltzall_op)) {
|
|
|
- ret = -SIGILL;
|
|
|
- break;
|
|
|
- }
|
|
|
+ insn.i_format.rt == bltzall_op))
|
|
|
+ goto sigill_r2r6;
|
|
|
regs->regs[31] = epc + 8;
|
|
|
/*
|
|
|
* OK we are here either because we hit a NAL
|
|
@@ -507,10 +505,8 @@ int __compute_return_epc_for_insn(struct pt_regs *regs,
|
|
|
case bgezal_op:
|
|
|
case bgezall_op:
|
|
|
if (NO_R6EMU && (insn.i_format.rs ||
|
|
|
- insn.i_format.rt == bgezall_op)) {
|
|
|
- ret = -SIGILL;
|
|
|
- break;
|
|
|
- }
|
|
|
+ insn.i_format.rt == bgezall_op))
|
|
|
+ goto sigill_r2r6;
|
|
|
regs->regs[31] = epc + 8;
|
|
|
/*
|
|
|
* OK we are here either because we hit a BAL
|