Merge tag 'mfd-for-linus-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
[pandora-kernel.git] / arch / metag / kernel / signal.c
index 0d100d5..ce49d42 100644 (file)
@@ -48,7 +48,7 @@ static int restore_sigcontext(struct pt_regs *regs,
        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 = metag_gp_regs_copyin(regs, 0, sizeof(struct user_gp_regs), NULL,
                                   &sc->regs);