all arches, signal: move restart_block to struct task_struct
[sfrench/cifs-2.6.git] / arch / sparc / kernel / signal_32.c
index 9ee72fc8e0e49636f1db8f97e645883d4e69b2ce..52aa5e4ce5e77c0716e083dd41372c16e5ac8967 100644 (file)
@@ -70,7 +70,7 @@ asmlinkage void do_sigreturn(struct pt_regs *regs)
        int err;
 
        /* 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;
 
        synchronize_user_stack();