From c40ff5a74813ffe5a9ab781208841060e795c4c4 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 16 Jul 2008 15:49:23 +0000 Subject: Now that uvm_pglistalloc() does not lose on large memory gaps, do not restrict the memory allocation range in _dmamem_alloc(). --- sys/arch/sgi/sgi/bus_dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch') 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)); } /* -- cgit v1.2.3