diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2004-06-13 21:49:30 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2004-06-13 21:49:30 +0000 |
commit | 2dd254afa61a7c0cc5ae920b463d3d4266852804 (patch) | |
tree | 7adbebef3be24ba910fd83ee1ba09e1577ae21a8 /sys/kern/kern_proc.c | |
parent | 4d62e331dcde739b4067d712dd602c0927ce11b3 (diff) |
debranch SMP, have fun
Diffstat (limited to 'sys/kern/kern_proc.c')
-rw-r--r-- | sys/kern/kern_proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index 84519c2b60e..aa7ec306c56 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_proc.c,v 1.18 2004/01/29 17:19:42 millert Exp $ */ +/* $OpenBSD: kern_proc.c,v 1.19 2004/06/13 21:49:26 niklas Exp $ */ /* $NetBSD: kern_proc.c,v 1.14 1996/02/09 18:59:41 christos Exp $ */ /* @@ -85,7 +85,7 @@ struct pool pcred_pool; * proclist. Processes on this proclist are also on zombproc; * we use the p_hash member to linkup to deadproc. */ -struct simplelock deadproc_slock; +struct SIMPLELOCK deadproc_slock; struct proclist deadproc; /* dead, but not yet undead */ static void orphanpg(struct pgrp *); @@ -104,7 +104,7 @@ procinit() LIST_INIT(&zombproc); LIST_INIT(&deadproc); - simple_lock_init(&deadproc_slock); + SIMPLE_LOCK_INIT(&deadproc_slock); pidhashtbl = hashinit(maxproc / 4, M_PROC, M_WAITOK, &pidhash); pgrphashtbl = hashinit(maxproc / 4, M_PROC, M_WAITOK, &pgrphash); |