]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/arm64/kernel/signal32.c
all arches, signal: move restart_block to struct task_struct
[linux.git] / arch / arm64 / kernel / signal32.c
index e299de396e9b33d2c6945275b2d30d7285c3fbd9..c20a300e22137f741a236cb8385864b90fac9df4 100644 (file)
@@ -347,7 +347,7 @@ asmlinkage int compat_sys_sigreturn(struct pt_regs *regs)
        struct compat_sigframe __user *frame;
 
        /* 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;
 
        /*
         * Since we stacked the signal on a 64-bit boundary,
@@ -381,7 +381,7 @@ asmlinkage int compat_sys_rt_sigreturn(struct pt_regs *regs)
        struct compat_rt_sigframe __user *frame;
 
        /* 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;
 
        /*
         * Since we stacked the signal on a 64-bit boundary,