Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/compat/linux32/arch/amd64/linux32_machdep.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/compat/linux32/arch/amd64/linux32_machdep.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.13.2.2 retrieving revision 1.14 diff -u -p -r1.13.2.2 -r1.14 --- src/sys/compat/linux32/arch/amd64/linux32_machdep.c 2007/12/26 21:39:02 1.13.2.2 +++ src/sys/compat/linux32/arch/amd64/linux32_machdep.c 2007/12/04 18:40:18 1.14 @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_machdep.c,v 1.13.2.2 2007/12/26 21:39:02 ad Exp $ */ +/* $NetBSD: linux32_machdep.c,v 1.14 2007/12/04 18:40:18 dsl Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -31,7 +31,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.13.2.2 2007/12/26 21:39:02 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.14 2007/12/04 18:40:18 dsl Exp $"); #include #include @@ -344,7 +344,12 @@ linux32_setregs(struct lwp *l, struct ex } static void -linux32_save_ucontext(struct lwp *l, struct trapframe *tf, const sigset_t *mask, struct sigaltstack *sas, struct linux32_ucontext *uc) +linux32_save_ucontext(l, tf, mask, sas, uc) + struct lwp *l; + struct trapframe *tf; + const sigset_t *mask; + struct sigaltstack *sas; + struct linux32_ucontext *uc; { uc->uc_flags = 0; NETBSD32PTR32(uc->uc_link, NULL); @@ -392,11 +397,14 @@ linux32_save_sigcontext(l, tf, mask, sc) } int -linux32_sys_sigreturn(struct lwp *l, const struct linux32_sys_sigreturn_args *uap, register_t *retval) +linux32_sys_sigreturn(l, v, retval) + struct lwp *l; + void *v; + register_t *retval; { - /* { + struct linux32_sys_sigreturn_args /* { syscallarg(linux32_sigcontextp_t) scp; - } */ + } */ *uap = v; struct linux32_sigcontext ctx; int error; @@ -407,11 +415,14 @@ linux32_sys_sigreturn(struct lwp *l, con } int -linux32_sys_rt_sigreturn(struct lwp *l, const struct linux32_sys_rt_sigreturn_args *uap, register_t *retval) +linux32_sys_rt_sigreturn(l, v, retval) + struct lwp *l; + void *v; + register_t *retval; { - /* { + struct linux32_sys_rt_sigreturn_args /* { syscallarg(linux32_ucontextp_t) ucp; - } */ + } */ *uap = v; struct linux32_ucontext ctx; int error;