summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-11-29 12:39:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-11-29 12:39:51 +0000
commitdd6ae57e92d7c64edd63b836223abe9422ff0d63 (patch)
tree781fdd17496d2532848c9cf67dd49bb31ad60c82 /sys
parent567a03881779688d34d57c2d20be81bebf982df1 (diff)
We don't use mb_map anymore since a long time already. Remove it.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/uipc_mbuf.c4
-rw-r--r--sys/uvm/uvm_extern.h3
-rw-r--r--sys/uvm/uvm_km.c3
3 files changed, 3 insertions, 7 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index ba42a460a3c..4320cf39cc3 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_mbuf.c,v 1.77 2006/10/11 22:39:46 mpf Exp $ */
+/* $OpenBSD: uipc_mbuf.c,v 1.78 2006/11/29 12:39:48 miod Exp $ */
/* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */
/*
@@ -92,8 +92,6 @@ struct mbstat mbstat; /* mbuf stats */
struct pool mbpool; /* mbuf pool */
struct pool mclpool; /* mbuf cluster pool */
-struct vm_map *mb_map;
-
int max_linkhdr; /* largest link-level header */
int max_protohdr; /* largest protocol header */
int max_hdr; /* largest link+protocol header */
diff --git a/sys/uvm/uvm_extern.h b/sys/uvm/uvm_extern.h
index 79ca6fa7745..3d051013137 100644
--- a/sys/uvm/uvm_extern.h
+++ b/sys/uvm/uvm_extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_extern.h,v 1.62 2006/11/29 12:26:14 miod Exp $ */
+/* $OpenBSD: uvm_extern.h,v 1.63 2006/11/29 12:39:50 miod Exp $ */
/* $NetBSD: uvm_extern.h,v 1.57 2001/03/09 01:02:12 chs Exp $ */
/*
@@ -412,7 +412,6 @@ struct vmspace {
extern struct vm_map *exec_map;
extern struct vm_map *kernel_map;
extern struct vm_map *kmem_map;
-extern struct vm_map *mb_map;
extern struct vm_map *phys_map;
diff --git a/sys/uvm/uvm_km.c b/sys/uvm/uvm_km.c
index b864d6411fd..6882ed0fdd4 100644
--- a/sys/uvm/uvm_km.c
+++ b/sys/uvm/uvm_km.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_km.c,v 1.53 2006/11/29 12:17:33 miod Exp $ */
+/* $OpenBSD: uvm_km.c,v 1.54 2006/11/29 12:39:50 miod Exp $ */
/* $NetBSD: uvm_km.c,v 1.42 2001/01/14 02:10:01 thorpej Exp $ */
/*
@@ -94,7 +94,6 @@
* malloc. *** access to kmem_map must be protected
* by splvm() because we are allowed to call malloc()
* at interrupt time ***
- * mb_map => memory for large mbufs, *** protected by splvm ***
* pager_map => used to map "buf" structures into kernel space
* exec_map => used during exec to handle exec args
* etc...