all arches, signal: move restart_block to struct task_struct
[cascardo/linux.git] / arch / sparc / kernel / signal32.c
index 62deba7..4eed773 100644 (file)
@@ -150,7 +150,7 @@ void do_sigreturn32(struct pt_regs *regs)
        int err, i;
        
        /* 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();
 
@@ -235,7 +235,7 @@ asmlinkage void do_rt_sigreturn32(struct pt_regs *regs)
        int err, i;
        
        /* 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();
        regs->u_regs[UREG_FP] &= 0x00000000ffffffffUL;