summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-09-09 10:25:53 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-09-09 10:25:53 +0000
commit5ca0388b5cf65e0933699ec5f4165e93090167ed (patch)
tree23eb24bd8d5ea8937298efd5324a0b48cf68711e /sys
parent1d521f7c1c62406e0fe61b41b55cec5c2194134d (diff)
Kill mb_map and related defines, we don't need one.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mips64/include/vmparam.h3
-rw-r--r--sys/arch/sgi/sgi/machdep.c6
2 files changed, 2 insertions, 7 deletions
diff --git a/sys/arch/mips64/include/vmparam.h b/sys/arch/mips64/include/vmparam.h
index 05dba28e58e..613ea017150 100644
--- a/sys/arch/mips64/include/vmparam.h
+++ b/sys/arch/mips64/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.2 2004/08/10 20:28:13 deraadt Exp $ */
+/* $OpenBSD: vmparam.h,v 1.3 2004/09/09 10:25:50 miod Exp $ */
/* $NetBSD: vmparam.h,v 1.5 1994/10/26 21:10:10 cgd Exp $ */
/*
@@ -127,7 +127,6 @@ vaddr_t virtual_end;
#define VM_MAX_KERNEL_ADDRESS virtual_end
/* virtual sizes (bytes) for various kernel submaps */
-#define VM_MBUF_SIZE (NMBCLUSTERS*MCLBYTES)
#define VM_PHYS_SIZE (USRIOSIZE*PAGE_SIZE)
/*
diff --git a/sys/arch/sgi/sgi/machdep.c b/sys/arch/sgi/sgi/machdep.c
index 06da2691bb6..be785845a35 100644
--- a/sys/arch/sgi/sgi/machdep.c
+++ b/sys/arch/sgi/sgi/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.8 2004/08/26 13:30:25 pefo Exp $ */
+/* $OpenBSD: machdep.c,v 1.9 2004/09/09 10:25:52 miod Exp $ */
/*
* Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -114,7 +114,6 @@ int nbuf = NBUF;
int bufpages = BUFPAGES;
vm_map_t exec_map;
-vm_map_t mb_map;
vm_map_t phys_map;
int msgbufmapped; /* set when safe to use msgbuf */
@@ -619,9 +618,6 @@ cpu_startup()
phys_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
VM_PHYS_SIZE, TRUE, FALSE, NULL);
- /* Finally, allocate mbuf pool. */
- mb_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
- VM_MBUF_SIZE, FALSE, FALSE, NULL);
#ifdef DEBUG
pmapdebugflag = opmapdebugflag;
#endif