diff options
Diffstat (limited to 'sys/uvm/uvm_init.c')
-rw-r--r-- | sys/uvm/uvm_init.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/uvm/uvm_init.c b/sys/uvm/uvm_init.c index 3dd313b8da1..92f14bcccbc 100644 --- a/sys/uvm/uvm_init.c +++ b/sys/uvm/uvm_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_init.c,v 1.12 2006/06/21 16:20:05 mickey Exp $ */ +/* $OpenBSD: uvm_init.c,v 1.13 2006/07/13 22:51:26 deraadt Exp $ */ /* $NetBSD: uvm_init.c,v 1.14 2000/06/27 17:29:23 mrg Exp $ */ /* @@ -134,10 +134,11 @@ uvm_init() uvm_pager_init(); /* - * step 8: init anonymous memory system + * step 8: init anonymous memory systems (both amap and anons) */ amap_init(); /* init amap module */ + uvm_anon_init(); /* allocate initial anons */ /* * the VM system is now up! now that malloc is up we can resize the @@ -152,7 +153,8 @@ uvm_init() uvm_km_page_init(); /* - * init anonymous memory systems + * done! */ - uvm_anon_init(); + + return; } |