diff options
Diffstat (limited to 'arch/mips/include/asm/branch.h')
-rw-r--r-- | arch/mips/include/asm/branch.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/mips/include/asm/branch.h b/arch/mips/include/asm/branch.h index de781cf54bc7..da80878f2c0d 100644 --- a/arch/mips/include/asm/branch.h +++ b/arch/mips/include/asm/branch.h | |||
@@ -74,10 +74,7 @@ static inline int compute_return_epc(struct pt_regs *regs) | |||
74 | return __microMIPS_compute_return_epc(regs); | 74 | return __microMIPS_compute_return_epc(regs); |
75 | if (cpu_has_mips16) | 75 | if (cpu_has_mips16) |
76 | return __MIPS16e_compute_return_epc(regs); | 76 | return __MIPS16e_compute_return_epc(regs); |
77 | return regs->cp0_epc; | 77 | } else if (!delay_slot(regs)) { |
78 | } | ||
79 | |||
80 | if (!delay_slot(regs)) { | ||
81 | regs->cp0_epc += 4; | 78 | regs->cp0_epc += 4; |
82 | return 0; | 79 | return 0; |
83 | } | 80 | } |