diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-03-07 15:34:35 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-03-07 15:34:35 +0000 |
commit | 533af00bc490d661c0485172ecc85661f5bfb8b2 (patch) | |
tree | 0958bc0190d3b4a65abceee125e75f4f0cb4dc78 /sys/arch/mvme88k | |
parent | 199a9dc702cd212e8bdb1f42566fb537bb2acc5b (diff) |
When allocating memory in bus_dmamem_alloc() with uvm_pglistalloc(), do not
try to be smart for the address range, uvm_pglistalloc() is smart enough
nowadays.
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/bus_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/mvme88k/bus_dma.c b/sys/arch/mvme88k/mvme88k/bus_dma.c index fd07b5ab473..ab1d2ab67b4 100644 --- a/sys/arch/mvme88k/mvme88k/bus_dma.c +++ b/sys/arch/mvme88k/mvme88k/bus_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_dma.c,v 1.9 2009/02/01 00:52:19 miod Exp $ */ +/* $OpenBSD: bus_dma.c,v 1.10 2009/03/07 15:34:34 miod Exp $ */ /* $NetBSD: bus_dma.c,v 1.2 2001/06/10 02:31:25 briggs Exp $ */ /*- @@ -482,7 +482,7 @@ bus_dmamem_alloc(t, size, alignment, boundary, segs, nsegs, rsegs, flags) } return _bus_dmamem_alloc_range(t, size, alignment, boundary, segs, - nsegs, rsegs, flags, avail_start, avail_end - PAGE_SIZE); + nsegs, rsegs, flags, 0, -1); } /* |