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/hppa | |
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/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/mainbus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/mainbus.c b/sys/arch/hppa/hppa/mainbus.c index 1a38f224ed6..f0737c0a8ac 100644 --- a/sys/arch/hppa/hppa/mainbus.c +++ b/sys/arch/hppa/hppa/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.34 2002/10/06 22:06:15 art Exp $ */ +/* $OpenBSD: mainbus.c,v 1.35 2002/10/07 18:35:56 mickey Exp $ */ /* * Copyright (c) 1998-2001 Michael Shalayeff @@ -726,6 +726,7 @@ mbus_dmamem_alloc(void *v, bus_size_t size, bus_size_t alignment, size = round_page(size); + TAILQ_INIT(&pglist); if (uvm_pglistalloc(size, VM_MIN_KERNEL_ADDRESS, VM_MAX_KERNEL_ADDRESS, alignment, 0, &pglist, 1, FALSE)) return ENOMEM; |