]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - arch/m68k/kernel/signal.c
all arches, signal: move restart_block to struct task_struct
[mirror_ubuntu-eoan-kernel.git] / arch / m68k / kernel / signal.c
index 967a8b7e152727d24339529e660d85d7eb8348dc..d7179281e74aff6a8bf2ef21fe4f699e63a4d224 100644 (file)
@@ -655,7 +655,7 @@ restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *usc, void __u
        int err = 0;
 
        /* 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;
 
        /* get previous context */
        if (copy_from_user(&context, usc, sizeof(context)))
@@ -693,7 +693,7 @@ rt_restore_ucontext(struct pt_regs *regs, struct switch_stack *sw,
        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 = __get_user(temp, &uc->uc_mcontext.version);
        if (temp != MCONTEXT_VERSION)