projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00cbf60
)
mn10300: ->restart_block.fn needs to be reset on sigreturn
author
Al Viro
<viro@ftp.linux.org.uk>
Sun, 26 Sep 2010 18:28:52 +0000
(19:28 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 27 Sep 2010 19:19:53 +0000
(12:19 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mn10300/kernel/signal.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mn10300/kernel/signal.c
b/arch/mn10300/kernel/signal.c
index 4ef99256fa498b9dd38f3f828ff82b68c06d544c..5a2c0040b166d2587ccc01f4a45a7c21ffd14056 100644
(file)
--- a/
arch/mn10300/kernel/signal.c
+++ b/
arch/mn10300/kernel/signal.c
@@
-102,6
+102,9
@@
static int restore_sigcontext(struct pt_regs *regs,
{
unsigned int err = 0;
+ /* Always make any pending restarted system calls return -EINTR */
+ current_thread_info()->restart_block.fn = do_no_restart_syscall;
+
if (is_using_fpu(current))
fpu_kill_state(current);