projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2ccfb3
)
xtensa: ->restart_block.fn needs to be reset on rt_sigreturn
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 22 Apr 2012 07:35:28 +0000
(
03:35
-0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 22 May 2012 03:52:39 +0000
(23:52 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/xtensa/kernel/signal.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/xtensa/kernel/signal.c
b/arch/xtensa/kernel/signal.c
index d78869a00b11c8a2a4584d26b6528dd98ff685c7..44e9329a64840e90d05944d54b13b45571fdf2f7 100644
(file)
--- a/
arch/xtensa/kernel/signal.c
+++ b/
arch/xtensa/kernel/signal.c
@@
-248,6
+248,9
@@
asmlinkage long xtensa_rt_sigreturn(long a0, long a1, long a2, long a3,
sigset_t set;
int ret;
+ /* Always make any pending restarted system calls return -EINTR */
+ current_thread_info()->restart_block.fn = do_no_restart_syscall;
+
if (regs->depc > 64)
panic("rt_sigreturn in double exception!\n");