diff options
Diffstat (limited to 'arch/ppc/kernel/signal.c')
-rw-r--r-- | arch/ppc/kernel/signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/kernel/signal.c b/arch/ppc/kernel/signal.c index 645eae19805c..7c8437da09d5 100644 --- a/arch/ppc/kernel/signal.c +++ b/arch/ppc/kernel/signal.c | |||
@@ -511,7 +511,7 @@ int sys_rt_sigreturn(int r3, int r4, int r5, int r6, int r7, int r8, | |||
511 | } | 511 | } |
512 | 512 | ||
513 | int sys_debug_setcontext(struct ucontext __user *ctx, | 513 | int sys_debug_setcontext(struct ucontext __user *ctx, |
514 | int ndbg, struct sig_dbg_op *dbg, | 514 | int ndbg, struct sig_dbg_op __user *dbg, |
515 | int r6, int r7, int r8, | 515 | int r6, int r7, int r8, |
516 | struct pt_regs *regs) | 516 | struct pt_regs *regs) |
517 | { | 517 | { |
@@ -632,7 +632,7 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, | |||
632 | if (__put_user((unsigned long) ka->sa.sa_handler, &sc->handler) | 632 | if (__put_user((unsigned long) ka->sa.sa_handler, &sc->handler) |
633 | || __put_user(oldset->sig[0], &sc->oldmask) | 633 | || __put_user(oldset->sig[0], &sc->oldmask) |
634 | || __put_user(oldset->sig[1], &sc->_unused[3]) | 634 | || __put_user(oldset->sig[1], &sc->_unused[3]) |
635 | || __put_user((struct pt_regs *)frame, &sc->regs) | 635 | || __put_user((struct pt_regs __user *)frame, &sc->regs) |
636 | || __put_user(sig, &sc->signal)) | 636 | || __put_user(sig, &sc->signal)) |
637 | goto badframe; | 637 | goto badframe; |
638 | 638 | ||