mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
nios2: restarts apply only to the first sigframe we build...
commit 411a76b7219555c55867466c82d70ce928d6c9e1 upstream.
Fixes: b53e906d25 ("nios2: Signal handling support")
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Dinh Nguyen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
01e783b45e
commit
d6d9dd2cc3
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