Commit 411a76b7 authored by Al Viro's avatar Al Viro Committed by Dinh Nguyen

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

Fixes: b53e906d ("nios2: Signal handling support")
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment