diff options
author | jhb <jhb@FreeBSD.org> | 2001-02-09 16:25:16 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-02-09 16:25:16 +0000 |
commit | 6e847a265bddc08d6827b25e8bfe685caf023ea8 (patch) | |
tree | 3b6b608ffc176e5da47c53ff0dae9773a1dc7f3b /sys/kern/init_main.c | |
parent | 2cc8f99b0bb83871ed887e29512a2c761ab732b6 (diff) | |
download | FreeBSD-src-6e847a265bddc08d6827b25e8bfe685caf023ea8.zip FreeBSD-src-6e847a265bddc08d6827b25e8bfe685caf023ea8.tar.gz |
Move the initailization of the proc lock for proc0 very early into the MD
startup code.
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 0214ed1..39b6a6e 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -285,7 +285,6 @@ proc0_init(void *dummy __unused) /* * Create process 0 (the swapper). */ - mtx_init(&p->p_mtx, "process lock", MTX_DEF); LIST_INSERT_HEAD(&allproc, p, p_list); p->p_pgrp = &pgrp0; LIST_INSERT_HEAD(PGRPHASH(0), &pgrp0, pg_hash); |