Commit 0e88bb00 authored by Eric W. Biederman's avatar Eric W. Biederman

signal/sh: Ensure si_signo is initialized in do_divide_error

Set si_signo.

Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-sh@vger.kernel.org
Cc: stable@vger.kernel.org
Fixes: 0983b318 ("sh: Wire up division and address error exceptions on SH-2A.")
Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 0b44bf9a
...@@ -609,7 +609,8 @@ asmlinkage void do_divide_error(unsigned long r4) ...@@ -609,7 +609,8 @@ asmlinkage void do_divide_error(unsigned long r4)
break; break;
} }
force_sig_info(SIGFPE, &info, current); info.si_signo = SIGFPE;
force_sig_info(info.si_signo, &info, current);
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment