artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04bb2d5
)
Now that uvm_pglistalloc() does not lose on large memory gaps, do not
author
miod
<miod@openbsd.org>
Wed, 16 Jul 2008 15:49:22 +0000
(15:49 +0000)
committer
miod
<miod@openbsd.org>
Wed, 16 Jul 2008 15:49:22 +0000
(15:49 +0000)
restrict the memory allocation range in _dmamem_alloc().
sys/arch/sgi/sgi/bus_dma.c
patch
|
blob
|
history
diff --git
a/sys/arch/sgi/sgi/bus_dma.c
b/sys/arch/sgi/sgi/bus_dma.c
index
3094c10
..
aa6bc43
100644
(file)
--- 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
));
}
/*