all arches, signal: move restart_block to struct task_struct
[cascardo/linux.git] / arch / cris / arch-v10 / kernel / signal.c
index 9b32d33..74d7ba3 100644 (file)
@@ -67,7 +67,7 @@ restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
        unsigned long old_usp;
 
         /* 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;
 
        /* restore the regs from &sc->regs (same as sc, since regs is first)
         * (sc is already checked for VERIFY_READ since the sigframe was