提交 411a76b7 编写于 作者: A Al Viro 提交者: Dinh Nguyen

nios2: restarts apply only to the first sigframe we build...

Fixes: b53e906d ("nios2: Signal handling support")
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NDinh Nguyen <dinguyen@kernel.org>
上级 2d631bd5
......@@ -264,6 +264,7 @@ static int do_signal(struct pt_regs *regs)
regs->ea = restart_addr;
break;
}
regs->orig_r2 = -1;
}
if (get_signal(&ksig)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册