From fd9b881ab0b4634eb50073b79bfe69dbb92c620c Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 13 Jul 2006 22:51:24 +0000 Subject: Back out the anon change. Apparently it was tested by a few, but most of us did not see it or get a chance to test it before it was commited. It broke cvs, in the ami driver, making it not succeed at seeing it's devices. --- sys/uvm/uvm_init.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'sys/uvm/uvm_init.c') 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; } -- cgit v1.2.3-59-g8ed1b