diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-10-07 18:35:58 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-10-07 18:35:58 +0000 |
commit | daca45b2e2fe51770fdf141620b1a04d8143ba13 (patch) | |
tree | 26ed8b6290c785830777c96472759baede9fda97 /sys/arch/sparc64/dev/iommu.c | |
parent | 1fb6e84fb87be265e927add726d41e6fe36478d0 (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/sparc64/dev/iommu.c')
-rw-r--r-- | sys/arch/sparc64/dev/iommu.c | 3 |
1 files changed, 2 insertions, 1 deletions
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"); |