summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_init.c')
-rw-r--r--sys/vm/vm_init.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/vm/vm_init.c b/sys/vm/vm_init.c
index 9761b21..3a426d5 100644
--- a/sys/vm/vm_init.c
+++ b/sys/vm/vm_init.c
@@ -68,8 +68,8 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/lock.h>
-#include <sys/mutex.h>
#include <sys/proc.h>
+#include <sys/rwlock.h>
#include <sys/sysctl.h>
#include <sys/systm.h>
#include <sys/selinfo.h>
@@ -159,8 +159,6 @@ vm_ksubmap_init(struct kva_md_info *kmi)
again:
v = (caddr_t)firstaddr;
- v = kern_timeout_callwheel_alloc(v);
-
/*
* Discount the physical memory larger than the size of kernel_map
* to avoid eating up all of KVA space.
@@ -204,10 +202,5 @@ again:
* XXX: Mbuf system machine-specific initializations should
* go here, if anywhere.
*/
-
- /*
- * Initialize the callouts we just allocated.
- */
- kern_timeout_callwheel_init();
}
OpenPOWER on IntegriCloud