diff options
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, 4 insertions, 2 deletions
diff --git a/sys/arch/alpha/alpha/cpu.c b/sys/arch/alpha/alpha/cpu.c index f01cf28666f..078bf96aa59 100644 --- a/sys/arch/alpha/alpha/cpu.c +++ b/sys/arch/alpha/alpha/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.13 2002/10/06 22:06:15 art Exp $ */ +/* $OpenBSD: cpu.c,v 1.14 2002/10/07 18:35:56 mickey Exp $ */ /* $NetBSD: cpu.c,v 1.44 2000/05/23 05:12:53 thorpej Exp $ */ /*- @@ -328,6 +328,7 @@ 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 1d7279e2083..df795dc3387 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.10 2002/10/06 22:06:15 art Exp $ */ +/* $OpenBSD: bus_dma.c,v 1.11 2002/10/07 18:35:56 mickey Exp $ */ /* $NetBSD: bus_dma.c,v 1.40 2000/07/17 04:47:56 thorpej Exp $ */ /*- @@ -489,6 +489,7 @@ _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) |