diff options
Diffstat (limited to 'arch/mips/kernel/signal.c')
-rw-r--r-- | arch/mips/kernel/signal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c index 4a7071863065..d676805a34ba 100644 --- a/arch/mips/kernel/signal.c +++ b/arch/mips/kernel/signal.c | |||
@@ -184,7 +184,7 @@ int install_sigtramp(unsigned int __user *tramp, unsigned int syscall) | |||
184 | */ | 184 | */ |
185 | 185 | ||
186 | err = __put_user(0x24020000 + syscall, tramp + 0); | 186 | err = __put_user(0x24020000 + syscall, tramp + 0); |
187 | err |= __put_user(0x0000000c , tramp + 1); | 187 | err |= __put_user(0x0000000c , tramp + 1); |
188 | if (ICACHE_REFILLS_WORKAROUND_WAR) { | 188 | if (ICACHE_REFILLS_WORKAROUND_WAR) { |
189 | err |= __put_user(0, tramp + 2); | 189 | err |= __put_user(0, tramp + 2); |
190 | err |= __put_user(0, tramp + 3); | 190 | err |= __put_user(0, tramp + 3); |
@@ -400,7 +400,7 @@ int setup_frame(struct k_sigaction * ka, struct pt_regs *regs, | |||
400 | if (!access_ok(VERIFY_WRITE, frame, sizeof (*frame))) | 400 | if (!access_ok(VERIFY_WRITE, frame, sizeof (*frame))) |
401 | goto give_sigsegv; | 401 | goto give_sigsegv; |
402 | 402 | ||
403 | install_sigtramp(frame->sf_code, __NR_sigreturn); | 403 | err |= install_sigtramp(frame->sf_code, __NR_sigreturn); |
404 | 404 | ||
405 | err |= setup_sigcontext(regs, &frame->sf_sc); | 405 | err |= setup_sigcontext(regs, &frame->sf_sc); |
406 | err |= __copy_to_user(&frame->sf_mask, set, sizeof(*set)); | 406 | err |= __copy_to_user(&frame->sf_mask, set, sizeof(*set)); |
@@ -447,7 +447,7 @@ int setup_rt_frame(struct k_sigaction * ka, struct pt_regs *regs, | |||
447 | if (!access_ok(VERIFY_WRITE, frame, sizeof (*frame))) | 447 | if (!access_ok(VERIFY_WRITE, frame, sizeof (*frame))) |
448 | goto give_sigsegv; | 448 | goto give_sigsegv; |
449 | 449 | ||
450 | install_sigtramp(frame->rs_code, __NR_rt_sigreturn); | 450 | err |= install_sigtramp(frame->rs_code, __NR_rt_sigreturn); |
451 | 451 | ||
452 | /* Create siginfo. */ | 452 | /* Create siginfo. */ |
453 | err |= copy_siginfo_to_user(&frame->rs_info, info); | 453 | err |= copy_siginfo_to_user(&frame->rs_info, info); |