all arches, signal: move restart_block to struct task_struct
[cascardo/linux.git] / arch / avr32 / kernel / signal.c
index d309fbc..8f1c63b 100644 (file)
@@ -69,7 +69,7 @@ asmlinkage int sys_rt_sigreturn(struct pt_regs *regs)
        sigset_t set;
 
        /* 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->sp;
        pr_debug("SIG return: frame = %p\n", frame);