]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/powerpc/kernel/signal_32.c
all arches, signal: move restart_block to struct task_struct
[linux.git] / arch / powerpc / kernel / signal_32.c
index b171001698ff32f256e4298c9f7fdfda2ddeef39..d3a831ac0f927e17304d55c406c60029ad55a4e0 100644 (file)
@@ -1231,7 +1231,7 @@ long sys_rt_sigreturn(int r3, int r4, int r5, int r6, int r7, int r8,
        int tm_restore = 0;
 #endif
        /* 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;
 
        rt_sf = (struct rt_sigframe __user *)
                (regs->gpr[1] + __SIGNAL_FRAMESIZE + 16);
@@ -1504,7 +1504,7 @@ long sys_sigreturn(int r3, int r4, int r5, int r6, int r7, int r8,
 #endif
 
        /* 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;
 
        sf = (struct sigframe __user *)(regs->gpr[1] + __SIGNAL_FRAMESIZE);
        sc = &sf->sctx;