aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/kernel/signal.c')
-rw-r--r--arch/s390/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/signal.c b/arch/s390/kernel/signal.c
index 6a2ac257d98f..b3ae6f70c6d6 100644
--- a/arch/s390/kernel/signal.c
+++ b/arch/s390/kernel/signal.c
@@ -162,7 +162,7 @@ static int restore_sigregs(struct pt_regs *regs, _sigregs __user *sregs)
162 _sigregs user_sregs; 162 _sigregs user_sregs;
163 163
164 /* Alwys make any pending restarted system call return -EINTR */ 164 /* Alwys make any pending restarted system call return -EINTR */
165 current_thread_info()->restart_block.fn = do_no_restart_syscall; 165 current->restart_block.fn = do_no_restart_syscall;
166 166
167 if (__copy_from_user(&user_sregs, sregs, sizeof(user_sregs))) 167 if (__copy_from_user(&user_sregs, sregs, sizeof(user_sregs)))
168 return -EFAULT; 168 return -EFAULT;