diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-02-19 02:54:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-02-19 02:54:39 +0000 |
commit | edc084fcaab6c1e62c648b0d2975489634e77ff8 (patch) | |
tree | 6919b1625c3e703f1c0bdb6516d7239b68e56219 /sys/dev/pci/brooktree848.c | |
parent | 178228c0f8a13b97875b0b34df2394f5aad3eb01 (diff) |
make vm_page_alloc_contig() a std function
Diffstat (limited to 'sys/dev/pci/brooktree848.c')
-rw-r--r-- | sys/dev/pci/brooktree848.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/brooktree848.c b/sys/dev/pci/brooktree848.c index aafc04baa68..b0080d46008 100644 --- a/sys/dev/pci/brooktree848.c +++ b/sys/dev/pci/brooktree848.c @@ -1,4 +1,4 @@ -/* $OpenBSD: brooktree848.c,v 1.6 1999/01/30 23:43:57 niklas Exp $ */ +/* $OpenBSD: brooktree848.c,v 1.7 1999/02/19 02:54:38 deraadt Exp $ */ /* $FreeBSD: brooktree848.c,v 1.64 1999/01/28 17:47:47 roger Exp $ */ /* BT848 Driver for Brooktree's Bt848, Bt849, Bt878 and Bt 879 based cards. The Brooktree BT848 Driver driver is based upon Mark Tinguely and @@ -6448,6 +6448,7 @@ vm_page_alloc_contig(size, low, high, alignment) } #else /* !UVM */ +#ifndef __OpenBSD__ #define TAILQ_FIRST(head) ((head)->tqh_first) #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) @@ -6477,6 +6478,9 @@ vm_page_alloc_contig(size, low, high, alignment) } return addr; } + +#endif + #endif /* !UVM */ #endif /* __NetBSD__ */ #endif |