From daca45b2e2fe51770fdf141620b1a04d8143ba13 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Mon, 7 Oct 2002 18:35:58 +0000 Subject: this removes the functionality of adding allocated pages into the queue already containing allocated pages. breaks i386:setup_buffers() because of this. --- sys/arch/sparc64/dev/iommu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 2f96e45464f..2c318127894 100644 --- a/sys/arch/sparc64/dev/iommu.c +++ b/sys/arch/sparc64/dev/iommu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iommu.c,v 1.21 2002/10/06 22:06:15 art Exp $ */ +/* $OpenBSD: iommu.c,v 1.22 2002/10/07 18:35:56 mickey Exp $ */ /* $NetBSD: iommu.c,v 1.47 2002/02/08 20:03:45 eeh Exp $ */ /* @@ -138,6 +138,7 @@ 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