move the call to link_pool_init() to the end of uvm_init(). needed for sun3.
This commit is contained in:
parent
6313e4c8a4
commit
ad79fc3015
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: init_main.c,v 1.243 2005/01/09 03:11:48 mycroft Exp $ */
|
||||
/* $NetBSD: init_main.c,v 1.244 2005/01/23 19:02:02 chs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993
|
||||
|
@ -71,7 +71,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.243 2005/01/09 03:11:48 mycroft Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.244 2005/01/23 19:02:02 chs Exp $");
|
||||
|
||||
#include "fs_nfs.h"
|
||||
#include "opt_nfsserver.h"
|
||||
|
@ -251,9 +251,6 @@ main(void)
|
|||
/* Do machine-dependent initialization. */
|
||||
cpu_startup();
|
||||
|
||||
/* Initialise pools. */
|
||||
link_pool_init();
|
||||
|
||||
/* Initialize callouts. */
|
||||
callout_startup();
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: uvm_init.c,v 1.20 2004/04/25 16:42:45 simonb Exp $ */
|
||||
/* $NetBSD: uvm_init.c,v 1.21 2005/01/23 19:02:02 chs Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -39,7 +39,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_init.c,v 1.20 2004/04/25 16:42:45 simonb Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: uvm_init.c,v 1.21 2005/01/23 19:02:02 chs Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -158,8 +158,9 @@ uvm_init()
|
|||
UAO_FLAG_KERNSWAP);
|
||||
|
||||
/*
|
||||
* done!
|
||||
* Initialize pools. This must be done before anyone manipulates
|
||||
* any vm_maps because we use a pool for some map entry structures.
|
||||
*/
|
||||
|
||||
return;
|
||||
link_pool_init();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue