summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
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
parentae2b3a3f3b40186a0d6184d43d89374769a372d0 (diff)
No more need to initialize the result list before uvm_pglistalloc.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/dev/iommu.c3
-rw-r--r--sys/arch/sparc64/sparc64/machdep.c3
-rw-r--r--sys/arch/sparc64/sparc64/pmap.c3
3 files changed, 3 insertions, 6 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");
diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c
index 207fe4e8859..4666e7849c9 100644
--- a/sys/arch/sparc64/sparc64/machdep.c
+++ b/sys/arch/sparc64/sparc64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.48 2002/10/06 20:18:54 art Exp $ */
+/* $OpenBSD: machdep.c,v 1.49 2002/10/06 22:06:15 art Exp $ */
/* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */
/*-
@@ -1542,7 +1542,6 @@ _bus_dmamem_alloc(t, size, alignment, boundary, segs, nsegs, rsegs, flags)
/*
* Allocate pages from the VM system.
*/
- TAILQ_INIT(mlist);
error = uvm_pglistalloc(size, low, high,
alignment, boundary, mlist, nsegs, (flags & BUS_DMA_NOWAIT) == 0);
if (error)
diff --git a/sys/arch/sparc64/sparc64/pmap.c b/sys/arch/sparc64/sparc64/pmap.c
index 31f87809f00..45c0807d628 100644
--- a/sys/arch/sparc64/sparc64/pmap.c
+++ b/sys/arch/sparc64/sparc64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.18 2002/09/18 10:36:50 art Exp $ */
+/* $OpenBSD: pmap.c,v 1.19 2002/10/06 22:06:15 art Exp $ */
/* $NetBSD: pmap.c,v 1.107 2001/08/31 16:47:41 eeh Exp $ */
#undef NO_VCACHE /* Don't forget the locked TLB in dostart */
/*
@@ -1489,7 +1489,6 @@ pmap_init()
panic("pmap_init: CLSIZE!=1");
size = sizeof(struct pv_entry) * physmem;
- 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("cpu_start: no memory");