diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-03-18 19:00:07 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-03-18 19:00:07 +0000 |
commit | 934f7c1306cc745b7ca91e5814225598dcfdf641 (patch) | |
tree | be984be7beed6e4a0020c5953f36f00064c36cc7 | |
parent | 8bb18eeb467dfaa682ca767de6cd88e515d5ce85 (diff) |
In _bus_dmamem_alloc_range(), do not ignore the caller's ``high'' parameter.
Makes isadma much happier.
From NetBSD
-rw-r--r-- | sys/arch/alpha/dev/bus_dma.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/alpha/dev/bus_dma.c b/sys/arch/alpha/dev/bus_dma.c index 41e385dfc14..b16376ec7fc 100644 --- a/sys/arch/alpha/dev/bus_dma.c +++ b/sys/arch/alpha/dev/bus_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_dma.c,v 1.15 2005/10/28 19:10:26 martin Exp $ */ +/* $OpenBSD: bus_dma.c,v 1.16 2006/03/18 19:00:06 miod Exp $ */ /* $NetBSD: bus_dma.c,v 1.40 2000/07/17 04:47:56 thorpej Exp $ */ /*- @@ -486,8 +486,6 @@ _bus_dmamem_alloc_range(t, size, alignment, boundary, segs, nsegs, rsegs, /* Always round the size. */ size = round_page(size); - high = avail_end - PAGE_SIZE; - /* * Allocate pages from the VM system. */ |