]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - arch/x86/um/signal.c
all arches, signal: move restart_block to struct task_struct
[mirror_ubuntu-eoan-kernel.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)