diff options
Diffstat (limited to 'arch/mips/math-emu/dsemul.c')
| -rw-r--r-- | arch/mips/math-emu/dsemul.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/math-emu/dsemul.c b/arch/mips/math-emu/dsemul.c index df7b9d928ef..36d975ae08f 100644 --- a/arch/mips/math-emu/dsemul.c +++ b/arch/mips/math-emu/dsemul.c | |||
| @@ -98,7 +98,7 @@ int mips_dsemul(struct pt_regs *regs, mips_instruction ir, unsigned long cpc) | |||
| 98 | err |= __put_user(cpc, &fr->epc); | 98 | err |= __put_user(cpc, &fr->epc); |
| 99 | 99 | ||
| 100 | if (unlikely(err)) { | 100 | if (unlikely(err)) { |
| 101 | fpuemustats.errors++; | 101 | MIPS_FPU_EMU_INC_STATS(errors); |
| 102 | return SIGBUS; | 102 | return SIGBUS; |
| 103 | } | 103 | } |
| 104 | 104 | ||
| @@ -136,7 +136,7 @@ int do_dsemulret(struct pt_regs *xcp) | |||
| 136 | err |= __get_user(cookie, &fr->cookie); | 136 | err |= __get_user(cookie, &fr->cookie); |
| 137 | 137 | ||
| 138 | if (unlikely(err || (insn != BREAK_MATH) || (cookie != BD_COOKIE))) { | 138 | if (unlikely(err || (insn != BREAK_MATH) || (cookie != BD_COOKIE))) { |
| 139 | fpuemustats.errors++; | 139 | MIPS_FPU_EMU_INC_STATS(errors); |
| 140 | return 0; | 140 | return 0; |
| 141 | } | 141 | } |
| 142 | 142 | ||
