diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-10-07 18:35:58 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-10-07 18:35:58 +0000 |
commit | daca45b2e2fe51770fdf141620b1a04d8143ba13 (patch) | |
tree | 26ed8b6290c785830777c96472759baede9fda97 /sys/arch/i386 | |
parent | 1fb6e84fb87be265e927add726d41e6fe36478d0 (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/i386')
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 453fb054591..33300474984 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.215 2002/10/06 22:06:15 art Exp $ */ +/* $OpenBSD: machdep.c,v 1.216 2002/10/07 18:35:56 mickey Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -3356,6 +3356,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) |