diff options
Diffstat (limited to 'arch/mips/math-emu/cp1emu.c')
-rw-r--r-- | arch/mips/math-emu/cp1emu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c index dbf2f93a5091..a03bf00a1a9c 100644 --- a/arch/mips/math-emu/cp1emu.c +++ b/arch/mips/math-emu/cp1emu.c | |||
@@ -245,7 +245,7 @@ static int cop1Emulate(struct pt_regs *xcp, struct mips_fpu_struct *ctx, | |||
245 | */ | 245 | */ |
246 | emulpc = xcp->cp0_epc + 4; /* Snapshot emulation target */ | 246 | emulpc = xcp->cp0_epc + 4; /* Snapshot emulation target */ |
247 | 247 | ||
248 | if (__compute_return_epc(xcp)) { | 248 | if (__compute_return_epc(xcp) < 0) { |
249 | #ifdef CP1DBG | 249 | #ifdef CP1DBG |
250 | printk("failed to emulate branch at %p\n", | 250 | printk("failed to emulate branch at %p\n", |
251 | (void *) (xcp->cp0_epc)); | 251 | (void *) (xcp->cp0_epc)); |