提交 0e88bb00 编写于 作者: E 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: N"Eric W. Biederman" <ebiederm@xmission.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册