aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/signal_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/signal_32.c')
-rw-r--r--arch/sh/kernel/signal_32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/signal_32.c b/arch/sh/kernel/signal_32.c
index 2f002b24fb92..0b34f2a704fe 100644
--- a/arch/sh/kernel/signal_32.c
+++ b/arch/sh/kernel/signal_32.c
@@ -156,7 +156,7 @@ asmlinkage int sys_sigreturn(void)
156 int r0; 156 int r0;
157 157
158 /* Always make any pending restarted system calls return -EINTR */ 158 /* Always make any pending restarted system calls return -EINTR */
159 current_thread_info()->restart_block.fn = do_no_restart_syscall; 159 current->restart_block.fn = do_no_restart_syscall;
160 160
161 if (!access_ok(VERIFY_READ, frame, sizeof(*frame))) 161 if (!access_ok(VERIFY_READ, frame, sizeof(*frame)))
162 goto badframe; 162 goto badframe;
@@ -186,7 +186,7 @@ asmlinkage int sys_rt_sigreturn(void)
186 int r0; 186 int r0;
187 187
188 /* Always make any pending restarted system calls return -EINTR */ 188 /* Always make any pending restarted system calls return -EINTR */
189 current_thread_info()->restart_block.fn = do_no_restart_syscall; 189 current->restart_block.fn = do_no_restart_syscall;
190 190
191 if (!access_ok(VERIFY_READ, frame, sizeof(*frame))) 191 if (!access_ok(VERIFY_READ, frame, sizeof(*frame)))
192 goto badframe; 192 goto badframe;