projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bee7b7
)
nios2: restarts apply only to the first sigframe we build...
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 8 Aug 2022 15:09:16 +0000
(16:09 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:40:18 +0000
(11:40 +0200)
commit
411a76b7219555c55867466c82d70ce928d6c9e1
upstream.
Fixes: b53e906d255d ("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>
arch/nios2/kernel/signal.c
patch
|
blob
|
history
diff --git
a/arch/nios2/kernel/signal.c
b/arch/nios2/kernel/signal.c
index 2dbad47ad0162634fb93213e9571b37f0de6a5da..68d626c4f1ba7708863ea71a6dc553a9f0480f6e 100644
(file)
--- a/
arch/nios2/kernel/signal.c
+++ b/
arch/nios2/kernel/signal.c
@@
-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)) {