all arches, signal: move restart_block to struct task_struct
[sfrench/cifs-2.6.git] / arch / score / kernel / signal.c
index 1651807774ad10d677a8b43467b8d91940eba127..e381c8c4ff65b613b32b0e7b81a2bc733d7bbf43 100644 (file)
@@ -141,7 +141,7 @@ score_rt_sigreturn(struct pt_regs *regs)
        int sig;
 
        /* Always make any pending restarted system calls return -EINTR */
-       current_thread_info()->restart_block.fn = do_no_restart_syscall;
+       current->restart_block.fn = do_no_restart_syscall;
 
        frame = (struct rt_sigframe __user *) regs->regs[0];
        if (!access_ok(VERIFY_READ, frame, sizeof(*frame)))