all arches, signal: move restart_block to struct task_struct
[deliverable/linux.git] / arch / metag / kernel / signal.c
index 0d100d5c140713de744deea8780094412e8335da..ce49d429c74aa63da08a75f1c20e1662fa7e8c00 100644 (file)
@@ -48,7 +48,7 @@ static int restore_sigcontext(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;
 
        err = metag_gp_regs_copyin(regs, 0, sizeof(struct user_gp_regs), NULL,
                                   &sc->regs);
This page took 0.035376 seconds and 5 git commands to generate.