diff options
Diffstat (limited to 'arch/powerpc/kernel/signal_32.c')
-rw-r--r-- | arch/powerpc/kernel/signal_32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/signal_32.c b/arch/powerpc/kernel/signal_32.c index b171001698ff..d3a831ac0f92 100644 --- a/arch/powerpc/kernel/signal_32.c +++ b/arch/powerpc/kernel/signal_32.c | |||
@@ -1231,7 +1231,7 @@ long sys_rt_sigreturn(int r3, int r4, int r5, int r6, int r7, int r8, | |||
1231 | int tm_restore = 0; | 1231 | int tm_restore = 0; |
1232 | #endif | 1232 | #endif |
1233 | /* Always make any pending restarted system calls return -EINTR */ | 1233 | /* Always make any pending restarted system calls return -EINTR */ |
1234 | current_thread_info()->restart_block.fn = do_no_restart_syscall; | 1234 | current->restart_block.fn = do_no_restart_syscall; |
1235 | 1235 | ||
1236 | rt_sf = (struct rt_sigframe __user *) | 1236 | rt_sf = (struct rt_sigframe __user *) |
1237 | (regs->gpr[1] + __SIGNAL_FRAMESIZE + 16); | 1237 | (regs->gpr[1] + __SIGNAL_FRAMESIZE + 16); |
@@ -1504,7 +1504,7 @@ long sys_sigreturn(int r3, int r4, int r5, int r6, int r7, int r8, | |||
1504 | #endif | 1504 | #endif |
1505 | 1505 | ||
1506 | /* Always make any pending restarted system calls return -EINTR */ | 1506 | /* Always make any pending restarted system calls return -EINTR */ |
1507 | current_thread_info()->restart_block.fn = do_no_restart_syscall; | 1507 | current->restart_block.fn = do_no_restart_syscall; |
1508 | 1508 | ||
1509 | sf = (struct sigframe __user *)(regs->gpr[1] + __SIGNAL_FRAMESIZE); | 1509 | sf = (struct sigframe __user *)(regs->gpr[1] + __SIGNAL_FRAMESIZE); |
1510 | sc = &sf->sctx; | 1510 | sc = &sf->sctx; |