summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/dev
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-10-07 18:35:58 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-10-07 18:35:58 +0000
commitdaca45b2e2fe51770fdf141620b1a04d8143ba13 (patch)
tree26ed8b6290c785830777c96472759baede9fda97 /sys/arch/alpha/dev
parent1fb6e84fb87be265e927add726d41e6fe36478d0 (diff)
this removes the functionality of adding allocated
pages into the queue already containing allocated pages. breaks i386:setup_buffers() because of this.
Diffstat (limited to 'sys/arch/alpha/dev')
-rw-r--r--sys/arch/alpha/dev/bus_dma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/alpha/dev/bus_dma.c b/sys/arch/alpha/dev/bus_dma.c
index 1d7279e2083..df795dc3387 100644
--- a/sys/arch/alpha/dev/bus_dma.c
+++ b/sys/arch/alpha/dev/bus_dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus_dma.c,v 1.10 2002/10/06 22:06:15 art Exp $ */
+/* $OpenBSD: bus_dma.c,v 1.11 2002/10/07 18:35:56 mickey Exp $ */
/* $NetBSD: bus_dma.c,v 1.40 2000/07/17 04:47:56 thorpej Exp $ */
/*-
@@ -489,6 +489,7 @@ _bus_dmamem_alloc_range(t, size, alignment, boundary, segs, nsegs, rsegs,
/*
* Allocate pages from the VM system.
*/
+ TAILQ_INIT(&mlist);
error = uvm_pglistalloc(size, low, high, alignment, boundary,
&mlist, nsegs, (flags & BUS_DMA_NOWAIT) == 0);
if (error)