diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-07-16 15:49:23 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-07-16 15:49:23 +0000 |
commit | c40ff5a74813ffe5a9ab781208841060e795c4c4 (patch) | |
tree | 09fdc29c415b5e9737314adc50cad18a1e4f06a5 /sys/arch/sgi | |
parent | 47ab849be0f58fcb26e9c7ddc9c4c3cc8a54802f (diff) |
Now that uvm_pglistalloc() does not lose on large memory gaps, do not
restrict the memory allocation range in _dmamem_alloc().
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r-- | sys/arch/sgi/sgi/bus_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/sgi/bus_dma.c b/sys/arch/sgi/sgi/bus_dma.c index 3094c1038a5..aa6bc431c30 100644 --- a/sys/arch/sgi/sgi/bus_dma.c +++ b/sys/arch/sgi/sgi/bus_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_dma.c,v 1.5 2008/04/07 22:30:49 miod Exp $ */ +/* $OpenBSD: bus_dma.c,v 1.6 2008/07/16 15:49:22 miod Exp $ */ /* * Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -438,7 +438,7 @@ _dmamem_alloc(t, size, alignment, boundary, segs, nsegs, rsegs, flags) int flags; { return (_dmamem_alloc_range(t, size, alignment, boundary, - segs, nsegs, rsegs, flags, 0, 0xf0000000)); + segs, nsegs, rsegs, flags, 0, -1)); } /* |