all arches, signal: move restart_block to struct task_struct
[cascardo/linux.git] / arch / x86 / kernel / signal.c
index 2a33c8f..e504246 100644 (file)
@@ -69,7 +69,7 @@ int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc,
        unsigned int err = 0;
 
        /* 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;
 
        get_user_try {