From: Al Viro Date: Mon, 25 Apr 2005 14:55:59 +0000 (-0700) Subject: [PATCH] ppc user annotations: debug_setconetext(2) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=056de2fa12febe02597f971eb6ea8f2cc9c9b06e;p=openwrt%2Fstaging%2Fblogic.git [PATCH] ppc user annotations: debug_setconetext(2) 3rd argument of sys_debug_setcontext() is also a userland pointer. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/arch/ppc/kernel/signal.c b/arch/ppc/kernel/signal.c index d500f5ebc29c..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, } int sys_debug_setcontext(struct ucontext __user *ctx, - int ndbg, struct sig_dbg_op *dbg, + int ndbg, struct sig_dbg_op __user *dbg, int r6, int r7, int r8, struct pt_regs *regs) {