all arches, signal: move restart_block to struct task_struct
[cascardo/linux.git] / arch / x86 / um / signal.c
index 79d8245..0c8c32b 100644 (file)
@@ -157,7 +157,7 @@ static int copy_sc_from_user(struct pt_regs *regs,
        int err, pid;
 
        /* 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;
 
        err = copy_from_user(&sc, from, sizeof(sc));
        if (err)