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:
ef9b122
)
microblaze: ->restart_block.fn needs to be reset on rt_sigreturn
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 22 Apr 2012 07:32:18 +0000
(
03:32
-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/microblaze/kernel/signal.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/kernel/signal.c
b/arch/microblaze/kernel/signal.c
index 99b970866b29a1de57583e85e18a050c1dc73ea3..fbdb02641821d7f0695ee6cecd221b732a596952 100644
(file)
--- a/
arch/microblaze/kernel/signal.c
+++ b/
arch/microblaze/kernel/signal.c
@@
-98,6
+98,9
@@
asmlinkage long sys_rt_sigreturn(struct pt_regs *regs)
sigset_t set;
int rval;
+ /* Always make any pending restarted system calls return -EINTR */
+ current_thread_info()->restart_block.fn = do_no_restart_syscall;
+
if (!access_ok(VERIFY_READ, frame, sizeof(*frame)))
goto badframe;