summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_swap.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-07-05 10:00:50 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-07-05 10:00:50 +0000
commit1e2cb14a7562811bb477e028c5c11fbf1f89176f (patch)
treece5329ce6874a2f327d77ef99c3fc8767b1a680c /sys/uvm/uvm_swap.c
parent1a1b7b490a3552db79a9bc6aa95a2de2faf5b30a (diff)
Get rid of the wrapper macros around extent_alloc*1
Pass the right amount of arguments and rename them back to their right names.
Diffstat (limited to 'sys/uvm/uvm_swap.c')
-rw-r--r--sys/uvm/uvm_swap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_swap.c b/sys/uvm/uvm_swap.c
index 61bb44095b4..76c294d06e2 100644
--- a/sys/uvm/uvm_swap.c
+++ b/sys/uvm/uvm_swap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_swap.c,v 1.27 2001/06/23 15:26:29 art Exp $ */
+/* $OpenBSD: uvm_swap.c,v 1.28 2001/07/05 10:00:49 art Exp $ */
/* $NetBSD: uvm_swap.c,v 1.28 1999/07/22 22:58:39 thorpej Exp $ */
/*
@@ -615,7 +615,7 @@ swapdrum_add(sdp, npages)
{
u_long result;
- if (extent_alloc(swapmap, npages, EX_NOALIGN, EX_NOBOUNDARY,
+ if (extent_alloc(swapmap, npages, EX_NOALIGN, 0, EX_NOBOUNDARY,
EX_WAITOK, &result))
panic("swapdrum_add");
@@ -1731,7 +1731,7 @@ ReTry: /* XXXMRG */
continue;
if (sdp->swd_npginuse + *nslots > sdp->swd_npages)
continue;
- if (extent_alloc(sdp->swd_ex, *nslots, EX_NOALIGN,
+ if (extent_alloc(sdp->swd_ex, *nslots, EX_NOALIGN, 0,
EX_NOBOUNDARY, EX_MALLOCOK|EX_NOWAIT,
&result) != 0) {
continue;