diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-10-06 22:06:16 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-10-06 22:06:16 +0000 |
commit | a7af6223a39ac404f0b0fc2508b0edb25083a166 (patch) | |
tree | 37dc819ae538ea29bfc08d4bacfdb7593c5d0b4b /sys/arch/alpha | |
parent | ae2b3a3f3b40186a0d6184d43d89374769a372d0 (diff) |
No more need to initialize the result list before uvm_pglistalloc.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/cpu.c | 3 | ||||
-rw-r--r-- | sys/arch/alpha/dev/bus_dma.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/alpha/alpha/cpu.c b/sys/arch/alpha/alpha/cpu.c index 1f25ced4856..f01cf28666f 100644 --- a/sys/arch/alpha/alpha/cpu.c +++ b/sys/arch/alpha/alpha/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.12 2002/03/14 01:26:26 millert Exp $ */ +/* $OpenBSD: cpu.c,v 1.13 2002/10/06 22:06:15 art Exp $ */ /* $NetBSD: cpu.c,v 1.44 2000/05/23 05:12:53 thorpej Exp $ */ /*- @@ -328,7 +328,6 @@ recognized: /* * Allocate UPAGES contiguous pages for the idle PCB and stack. */ - TAILQ_INIT(&mlist); error = uvm_pglistalloc(USPACE, avail_start, avail_end, 0, 0, &mlist, 1, 1); if (error != 0) { diff --git a/sys/arch/alpha/dev/bus_dma.c b/sys/arch/alpha/dev/bus_dma.c index 37843f61be2..1d7279e2083 100644 --- a/sys/arch/alpha/dev/bus_dma.c +++ b/sys/arch/alpha/dev/bus_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_dma.c,v 1.9 2002/03/14 01:26:26 millert Exp $ */ +/* $OpenBSD: bus_dma.c,v 1.10 2002/10/06 22:06:15 art Exp $ */ /* $NetBSD: bus_dma.c,v 1.40 2000/07/17 04:47:56 thorpej Exp $ */ /*- @@ -489,7 +489,6 @@ _bus_dmamem_alloc_range(t, size, alignment, boundary, segs, nsegs, rsegs, /* * 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) |