projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcb306a
)
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:09:30 +0000
(11:09 +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
|
blame
|
history
diff --git
a/arch/nios2/kernel/signal.c
b/arch/nios2/kernel/signal.c
index 34588df93e352925a29e7760d6b724ff9a242100..c1be8e194138559dfd8d9b05061d28716fa76f26 100644
(file)
--- a/
arch/nios2/kernel/signal.c
+++ b/
arch/nios2/kernel/signal.c
@@
-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)) {