summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-02-09 16:25:16 +0000
committerjhb <jhb@FreeBSD.org>2001-02-09 16:25:16 +0000
commit6e847a265bddc08d6827b25e8bfe685caf023ea8 (patch)
tree3b6b608ffc176e5da47c53ff0dae9773a1dc7f3b /sys/kern/init_main.c
parent2cc8f99b0bb83871ed887e29512a2c761ab732b6 (diff)
downloadFreeBSD-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.c1
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);
OpenPOWER on IntegriCloud