diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-22 03:27:28 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-21 14:19:31 -0400 |
commit | 3b7d15bde54be81e3edd773724d85d20ae42a4da (patch) | |
tree | 1c4f848ead2edae056c4a9c3e2d119ac1b50ac96 /arch/um/kernel | |
parent | 76e10d158efb6d4516018846f60c2ab5501900bc (diff) | |
download | op-kernel-dev-3b7d15bde54be81e3edd773724d85d20ae42a4da.zip op-kernel-dev-3b7d15bde54be81e3edd773724d85d20ae42a4da.tar.gz |
um: ->restart_block.fn needs to be reset on sigreturn
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/signal.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/um/kernel/signal.c b/arch/um/kernel/signal.c index fb12f4c..0dfcef9 100644 --- a/arch/um/kernel/signal.c +++ b/arch/um/kernel/signal.c @@ -29,9 +29,6 @@ static int handle_signal(struct pt_regs *regs, unsigned long signr, unsigned long sp; int err; - /* Always make any pending restarted system calls return -EINTR */ - current_thread_info()->restart_block.fn = do_no_restart_syscall; - /* Did we come from a system call? */ if (PT_REGS_SYSCALL_NR(regs) >= 0) { /* If so, check system call restarting.. */ |