summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-10-06 22:06:16 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-10-06 22:06:16 +0000
commita7af6223a39ac404f0b0fc2508b0edb25083a166 (patch)
tree37dc819ae538ea29bfc08d4bacfdb7593c5d0b4b /sys/arch/sparc64/dev
parentae2b3a3f3b40186a0d6184d43d89374769a372d0 (diff)
No more need to initialize the result list before uvm_pglistalloc.
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/iommu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/iommu.c b/sys/arch/sparc64/dev/iommu.c
index fb7a1c1d3e0..2f96e45464f 100644
--- a/sys/arch/sparc64/dev/iommu.c
+++ b/sys/arch/sparc64/dev/iommu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iommu.c,v 1.20 2002/10/04 01:55:44 jason Exp $ */
+/* $OpenBSD: iommu.c,v 1.21 2002/10/06 22:06:15 art Exp $ */
/* $NetBSD: iommu.c,v 1.47 2002/02/08 20:03:45 eeh Exp $ */
/*
@@ -138,7 +138,6 @@ iommu_init(name, is, tsbsize, iovabase)
*/
size = NBPG<<(is->is_tsbsize);
- TAILQ_INIT(&mlist);
if (uvm_pglistalloc((psize_t)size, (paddr_t)0, (paddr_t)-1,
(paddr_t)NBPG, (paddr_t)0, &mlist, 1, 0) != 0)
panic("iommu_init: no memory");