summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2006-03-18 19:00:06 +0000
committermiod <miod@openbsd.org>2006-03-18 19:00:06 +0000
commite7d875223d13d0538e1bf54205dae698f7e3a5db (patch)
tree3cc810f0a02636858165025296f43e0eb5972ea9
parentSwitch to a rpcc-based delay() implementation. From NetBSD. (diff)
downloadwireguard-openbsd-e7d875223d13d0538e1bf54205dae698f7e3a5db.tar.xz
wireguard-openbsd-e7d875223d13d0538e1bf54205dae698f7e3a5db.zip
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.c4
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.
*/