mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
nios2: restarts apply only to the first sigframe we build...
commit411a76b721
upstream. Fixes:b53e906d25
("nios2: Signal handling support") Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
23f654bda0
commit
06acb4197b
1 changed files with 1 additions and 0 deletions
|
@ -261,6 +261,7 @@ static int do_signal(struct pt_regs *regs)
|
|||
regs->ea = restart_addr;
|
||||
break;
|
||||
}
|
||||
regs->orig_r2 = -1;
|
||||
}
|
||||
|
||||
if (get_signal(&ksig)) {
|
||||
|
|
Loading…
Reference in a new issue