summaryrefslogtreecommitdiffstats
path: root/arch/nios2/kernel/signal.c
diff options
context:
space:
mode:
authorLey Foon Tan <lftan@altera.com>2015-04-08 07:44:18 +0200
committerLey Foon Tan <lftan@altera.com>2015-04-08 07:45:16 +0200
commit7587d12647f1d952a4fbe5fb54a52e98b5509dcc (patch)
treec05a6b5b04ddc6f0d40ac1e69f0ec1b67822db4b /arch/nios2/kernel/signal.c
parentLinux 4.0-rc7 (diff)
downloadlinux-7587d12647f1d952a4fbe5fb54a52e98b5509dcc.tar.xz
linux-7587d12647f1d952a4fbe5fb54a52e98b5509dcc.zip
nios2: signal: Move restart_block to struct task_struct
See https://lkml.org/lkml/2014/10/29/643 and commit f56141e3e2d9 ("all arches, signal: move restart_block to struct task_struct") Signed-off-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to '')
-rw-r--r--arch/nios2/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/kernel/signal.c b/arch/nios2/kernel/signal.c
index dda41e4fe707..20662b0f6c9e 100644
--- a/arch/nios2/kernel/signal.c
+++ b/arch/nios2/kernel/signal.c
@@ -43,7 +43,7 @@ static inline int rt_restore_ucontext(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 = __get_user(temp, &uc->uc_mcontext.version);
if (temp != MCONTEXT_VERSION)