summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2001-05-17 18:41:51 +0000
committerNiels Provos <provos@cvs.openbsd.org>2001-05-17 18:41:51 +0000
commitbff2b5c93dc47bb0d17d1480618ead119fc3a4c0 (patch)
treea86b2f3d063adb61db0fb67479d25ee1e6437a6a /sys/arch/mvme68k
parentaf8da448cf644f7e1e008d634771b23915ab7402 (diff)
convert mbuf and cluster allocation to pool, mostly from NetBSD
okay art@ miod@
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r--sys/arch/mvme68k/mvme68k/machdep.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/arch/mvme68k/mvme68k/machdep.c b/sys/arch/mvme68k/mvme68k/machdep.c
index af79cf637f9..76d2948219d 100644
--- a/sys/arch/mvme68k/mvme68k/machdep.c
+++ b/sys/arch/mvme68k/mvme68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.38 2001/05/05 22:33:58 art Exp $ */
+/* $OpenBSD: machdep.c,v 1.39 2001/05/17 18:41:49 provos Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -394,13 +394,6 @@ cpu_startup()
phys_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr,
VM_PHYS_SIZE, TRUE);
- /*
- * Finally, allocate mbuf pool. Since mclrefcnt is an off-size
- * we use the more space efficient malloc in place of kmem_alloc.
- */
- mclrefcnt = (char *)malloc(NMBCLUSTERS+PAGE_SIZE/MCLBYTES,
- M_MBUF, M_NOWAIT);
- bzero(mclrefcnt, NMBCLUSTERS+PAGE_SIZE/MCLBYTES);
mb_map = kmem_suballoc(kernel_map, (vm_offset_t *)&mbutl, &maxaddr,
VM_MBUF_SIZE, FALSE);
/*