From a7af6223a39ac404f0b0fc2508b0edb25083a166 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Sun, 6 Oct 2002 22:06:16 +0000 Subject: No more need to initialize the result list before uvm_pglistalloc. --- sys/arch/sparc64/dev/iommu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/arch/sparc64/dev/iommu.c') 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"); -- cgit v1.2.3