diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-03-16 08:49:10 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-03-16 08:49:10 +0000 |
commit | a62b60c2323478cd3f35a8fd5e92aec617c74774 (patch) | |
tree | a72acf2e7b1193dd1f47004124fe9f356f73295c /sys/kern/init_main.c | |
parent | 4b943c4b72189f278ecce0cf051a64b6906f09d7 (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.c | 5 |
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. */ |