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/kern/kern_time.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/kern/kern_time.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.144 retrieving revision 1.145 diff -u -p -r1.144 -r1.145 --- src/sys/kern/kern_time.c 2008/04/22 12:04:22 1.144 +++ src/sys/kern/kern_time.c 2008/04/24 15:35:29 1.145 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_time.c,v 1.144 2008/04/22 12:04:22 ad Exp $ */ +/* $NetBSD: kern_time.c,v 1.145 2008/04/24 15:35:29 ad Exp $ */ /*- * Copyright (c) 2000, 2004, 2005, 2007, 2008 The NetBSD Foundation, Inc. @@ -68,7 +68,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kern_time.c,v 1.144 2008/04/22 12:04:22 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_time.c,v 1.145 2008/04/24 15:35:29 ad Exp $"); #include #include @@ -174,13 +174,13 @@ settime1(struct proc *p, struct timespec * pausing all CPUs while we adjust the clock. */ timeval2bintime(&delta, &btdelta); - mutex_enter(&proclist_lock); + mutex_enter(proc_lock); LIST_FOREACH(l, &alllwp, l_list) { lwp_lock(l); bintime_add(&l->l_stime, &btdelta); lwp_unlock(l); } - mutex_exit(&proclist_lock); + mutex_exit(proc_lock); resettodr(); splx(s); @@ -1338,9 +1338,9 @@ timer_intr(void *cookie) pt->pt_overruns = 0; mutex_spin_exit(&timer_lock); - mutex_enter(&proclist_mutex); + mutex_enter(proc_lock); kpsignal(p, &ksi, NULL); - mutex_exit(&proclist_mutex); + mutex_exit(proc_lock); mutex_spin_enter(&timer_lock); }