summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-03-15 09:35:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-03-15 09:35:51 +0000
commitb5ad0fa53a9c3d3451b7af7f41a62d3dd5bf915c (patch)
tree72d0be5699266506a2cfe30f580e86d3ec07828e /sys/arch
parentb8b9906f29b5dab596f52fb25d82a32ea7de179f (diff)
In _bus_dmamem_alloc(), do not bother printing avail_start and avail_end
in the DEBUG code, since these values aren't used there anymore.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/landisk/landisk/bus_dma.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/landisk/landisk/bus_dma.c b/sys/arch/landisk/landisk/bus_dma.c
index bc51919cd76..0aa9694cb55 100644
--- a/sys/arch/landisk/landisk/bus_dma.c
+++ b/sys/arch/landisk/landisk/bus_dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus_dma.c,v 1.5 2009/03/07 15:34:34 miod Exp $ */
+/* $OpenBSD: bus_dma.c,v 1.6 2009/03/15 09:35:50 miod Exp $ */
/* $NetBSD: bus_dma.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */
/*
@@ -532,14 +532,12 @@ _bus_dmamem_alloc(bus_dma_tag_t t, bus_size_t size, bus_size_t alignment,
bus_size_t boundary, bus_dma_segment_t *segs, int nsegs, int *rsegs,
int flags)
{
- extern paddr_t avail_start, avail_end; /* from pmap.c */
struct pglist mlist;
paddr_t curaddr, lastaddr;
struct vm_page *m;
int curseg, error;
DPRINTF(("bus_dmamem_alloc: t = %p, size = %ld, alignment = %ld, boundary = %ld, segs = %p, nsegs = %d, rsegs = %p, flags = %x\n", t, size, alignment, boundary, segs, nsegs, rsegs, flags));
- DPRINTF(("bus_dmamem_alloc: avail_start = 0x%08lx, avail_end = 0x%08lx\n", avail_start, avail_end));
/* Always round the size. */
size = round_page(size);