all arches, signal: move restart_block to struct task_struct
[deliverable/linux.git] / arch / x86 / um / signal.c
index 79d824551c1a564dd6b22a31a2319ec980d92ea5..0c8c32bfd7928ee252c562e0a8767ec37e02844e 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)
This page took 0.028732 seconds and 5 git commands to generate.