summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-10-07 18:35:58 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-10-07 18:35:58 +0000
commitdaca45b2e2fe51770fdf141620b1a04d8143ba13 (patch)
tree26ed8b6290c785830777c96472759baede9fda97 /sys/arch/sparc
parent1fb6e84fb87be265e927add726d41e6fe36478d0 (diff)
this removes the functionality of adding allocated
pages into the queue already containing allocated pages. breaks i386:setup_buffers() because of this.
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/sparc/iommu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/iommu.c b/sys/arch/sparc/sparc/iommu.c
index 88072686f76..8121bc74388 100644
--- a/sys/arch/sparc/sparc/iommu.c
+++ b/sys/arch/sparc/sparc/iommu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iommu.c,v 1.17 2002/10/06 22:06:15 art Exp $ */
+/* $OpenBSD: iommu.c,v 1.18 2002/10/07 18:35:56 mickey Exp $ */
/* $NetBSD: iommu.c,v 1.13 1997/07/29 09:42:04 fair Exp $ */
/*
@@ -182,6 +182,7 @@ iommu_attach(parent, self, aux)
* The table must be aligned on a (-DVMA4M_BASE/NBPG) boundary
* (i.e. 64K for 64M of dvma space).
*/
+ TAILQ_INIT(&mlist);
#define DVMA_PTESIZE ((0 - DVMA4M_BASE) / 1024)
if (uvm_pglistalloc(DVMA_PTESIZE, 0, 0xffffffff, DVMA_PTESIZE,
0, &mlist, 1, 0) ||