diff options
Diffstat (limited to 'arch/sh/math-emu/math.c')
-rw-r--r-- | arch/sh/math-emu/math.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/math-emu/math.c b/arch/sh/math-emu/math.c index c86f4360c6ce..d6d2213df078 100644 --- a/arch/sh/math-emu/math.c +++ b/arch/sh/math-emu/math.c | |||
@@ -560,6 +560,7 @@ static int ieee_fpe_handler(struct pt_regs *regs) | |||
560 | ~(FPSCR_CAUSE_MASK | FPSCR_FLAG_MASK); | 560 | ~(FPSCR_CAUSE_MASK | FPSCR_FLAG_MASK); |
561 | task_thread_info(tsk)->status |= TS_USEDFPU; | 561 | task_thread_info(tsk)->status |= TS_USEDFPU; |
562 | } else { | 562 | } else { |
563 | clear_siginfo(&info); | ||
563 | info.si_signo = SIGFPE; | 564 | info.si_signo = SIGFPE; |
564 | info.si_errno = 0; | 565 | info.si_errno = 0; |
565 | info.si_code = FPE_FLTINV; | 566 | info.si_code = FPE_FLTINV; |