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/linux/arch/i386/linux_machdep.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/compat/linux/arch/i386/linux_machdep.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.131 retrieving revision 1.132 diff -u -p -r1.131 -r1.132 --- src/sys/compat/linux/arch/i386/linux_machdep.c 2007/12/04 18:40:13 1.131 +++ src/sys/compat/linux/arch/i386/linux_machdep.c 2007/12/08 18:36:05 1.132 @@ -1,4 +1,4 @@ -/* $NetBSD: linux_machdep.c,v 1.131 2007/12/04 18:40:13 dsl Exp $ */ +/* $NetBSD: linux_machdep.c,v 1.132 2007/12/08 18:36:05 dsl Exp $ */ /*- * Copyright (c) 1995, 2000 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.131 2007/12/04 18:40:13 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.132 2007/12/08 18:36:05 dsl Exp $"); #if defined(_KERNEL_OPT) #include "opt_vm86.h" @@ -130,10 +130,7 @@ extern char linux_sigcode[], linux_rt_si */ void -linux_setregs(l, epp, stack) - struct lwp *l; - struct exec_package *epp; - u_long stack; +linux_setregs(struct lwp *l, struct exec_package *epp, u_long stack) { struct pcb *pcb = &l->l_addr->u_pcb; struct trapframe *tf; @@ -197,12 +194,7 @@ linux_sendsig(const ksiginfo_t *ksi, con static void -linux_save_ucontext(l, tf, mask, sas, uc) - struct lwp *l; - struct trapframe *tf; - const sigset_t *mask; - struct sigaltstack *sas; - struct linux_ucontext *uc; +linux_save_ucontext(struct lwp *l, struct trapframe *tf, const sigset_t *mask, struct sigaltstack *sas, struct linux_ucontext *uc) { uc->uc_flags = 0; uc->uc_link = NULL; @@ -213,11 +205,7 @@ linux_save_ucontext(l, tf, mask, sas, uc } static void -linux_save_sigcontext(l, tf, mask, sc) - struct lwp *l; - struct trapframe *tf; - const sigset_t *mask; - struct linux_sigcontext *sc; +linux_save_sigcontext(struct lwp *l, struct trapframe *tf, const sigset_t *mask, struct linux_sigcontext *sc) { /* Save register context. */ #ifdef VM86 @@ -449,10 +437,7 @@ linux_old_sendsig(const ksiginfo_t *ksi, * a machine fault. */ int -linux_sys_rt_sigreturn(l, v, retval) - struct lwp *l; - void *v; - register_t *retval; +linux_sys_rt_sigreturn(struct lwp *l, void *v, register_t *retval) { struct linux_sys_rt_sigreturn_args /* { syscallarg(struct linux_ucontext *) ucp; @@ -473,10 +458,7 @@ linux_sys_rt_sigreturn(l, v, retval) } int -linux_sys_sigreturn(l, v, retval) - struct lwp *l; - void *v; - register_t *retval; +linux_sys_sigreturn(struct lwp *l, void *v, register_t *retval) { struct linux_sys_sigreturn_args /* { syscallarg(struct linux_sigcontext *) scp; @@ -725,9 +707,7 @@ linux_sys_modify_ldt(struct lwp *l, void * array for all major device numbers, and map linux_mknod too. */ dev_t -linux_fakedev(dev, raw) - dev_t dev; - int raw; +linux_fakedev(dev_t dev, int raw) { extern const struct cdevsw ptc_cdevsw, pts_cdevsw; const struct cdevsw *cd = cdevsw_lookup(dev); @@ -865,10 +845,7 @@ fd2biosinfo(struct proc *p, struct file * We come here in a last attempt to satisfy a Linux ioctl() call */ int -linux_machdepioctl(l, v, retval) - struct lwp *l; - void *v; - register_t *retval; +linux_machdepioctl(struct lwp *l, void *v, register_t *retval) { struct linux_sys_ioctl_args /* { syscallarg(int) fd; @@ -1120,10 +1097,7 @@ linux_sys_iopl(struct lwp *l, void *v, r * just let it have the whole range. */ int -linux_sys_ioperm(l, v, retval) - struct lwp *l; - void *v; - register_t *retval; +linux_sys_ioperm(struct lwp *l, void *v, register_t *retval) { struct linux_sys_ioperm_args /* { syscallarg(unsigned int) lo; @@ -1161,8 +1135,7 @@ linux_get_uname_arch(void) #ifdef LINUX_NPTL void * -linux_get_newtls(l) - struct lwp *l; +linux_get_newtls(struct lwp *l) { struct trapframe *tf = l->l_md.md_regs; @@ -1171,9 +1144,7 @@ linux_get_newtls(l) } int -linux_set_newtls(l, tls) - struct lwp *l; - void *tls; +linux_set_newtls(struct lwp *l, void *tls) { /* XXX: Implement me */ return 0;