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/arch/powerpc/powerpc/sig_machdep.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/arch/powerpc/powerpc/sig_machdep.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.31 retrieving revision 1.32 diff -u -p -r1.31 -r1.32 --- src/sys/arch/powerpc/powerpc/sig_machdep.c 2007/10/17 19:56:48 1.31 +++ src/sys/arch/powerpc/powerpc/sig_machdep.c 2008/04/24 18:39:21 1.32 @@ -1,4 +1,4 @@ -/* $NetBSD: sig_machdep.c,v 1.31 2007/10/17 19:56:48 garbled Exp $ */ +/* $NetBSD: sig_machdep.c,v 1.32 2008/04/24 18:39:21 ad Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.31 2007/10/17 19:56:48 garbled Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.32 2008/04/24 18:39:21 ad Exp $"); #include "opt_compat_netbsd.h" #include "opt_ppcarch.h" @@ -98,7 +98,7 @@ sendsig(const ksiginfo_t *ksi, const sig uc.uc_link = l->l_ctxlink; memset(&uc.uc_stack, 0, sizeof(uc.uc_stack)); sendsig_reset(l, ksi->ksi_signo); - mutex_exit(&p->p_smutex); + mutex_exit(p->p_lock); cpu_getmcontext(l, &uc.uc_mcontext, &uc.uc_flags); /* @@ -106,7 +106,7 @@ sendsig(const ksiginfo_t *ksi, const sig */ error = (copyout(&ksi->ksi_info, (void *)sip, sizeof(ksi->ksi_info)) != 0 || copyout(&uc, (void *)ucp, sizeof(uc)) != 0); - mutex_enter(&p->p_smutex); + mutex_enter(p->p_lock); if (error) { /*