summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-03-16 08:49:10 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-03-16 08:49:10 +0000
commita62b60c2323478cd3f35a8fd5e92aec617c74774 (patch)
treea72acf2e7b1193dd1f47004124fe9f356f73295c /sys/kern/init_main.c
parent4b943c4b72189f278ecce0cf051a64b6906f09d7 (diff)
Use a lockmgr lock for keeping down the vslocked memory in sysctl
instead of a home-brew equivalent.
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 919bcf2be12..b309b6f8d8a 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.58 2001/02/05 21:28:06 mickey Exp $ */
+/* $OpenBSD: init_main.c,v 1.59 2001/03/16 08:49:09 art Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -222,6 +222,9 @@ main(framep)
tty_init(); /* initialise tty's */
cpu_startup();
+ /* Initialize sysctls (must be done before any processes run) */
+ sysctl_init();
+
/*
* Initialize process and pgrp structures.
*/