aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/signal_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/signal_64.c')
-rw-r--r--arch/sh/kernel/signal_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/signal_64.c b/arch/sh/kernel/signal_64.c
index 897abe7b871e..71993c6a7d94 100644
--- a/arch/sh/kernel/signal_64.c
+++ b/arch/sh/kernel/signal_64.c
@@ -260,7 +260,7 @@ asmlinkage int sys_sigreturn(unsigned long r2, unsigned long r3,
260 long long ret; 260 long long ret;
261 261
262 /* Always make any pending restarted system calls return -EINTR */ 262 /* Always make any pending restarted system calls return -EINTR */
263 current_thread_info()->restart_block.fn = do_no_restart_syscall; 263 current->restart_block.fn = do_no_restart_syscall;
264 264
265 if (!access_ok(VERIFY_READ, frame, sizeof(*frame))) 265 if (!access_ok(VERIFY_READ, frame, sizeof(*frame)))
266 goto badframe; 266 goto badframe;
@@ -294,7 +294,7 @@ asmlinkage int sys_rt_sigreturn(unsigned long r2, unsigned long r3,
294 long long ret; 294 long long ret;
295 295
296 /* Always make any pending restarted system calls return -EINTR */ 296 /* Always make any pending restarted system calls return -EINTR */
297 current_thread_info()->restart_block.fn = do_no_restart_syscall; 297 current->restart_block.fn = do_no_restart_syscall;
298 298
299 if (!access_ok(VERIFY_READ, frame, sizeof(*frame))) 299 if (!access_ok(VERIFY_READ, frame, sizeof(*frame)))
300 goto badframe; 300 goto badframe;