summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2011-07-06 20:50:05 +0000
committerbeck <beck@openbsd.org>2011-07-06 20:50:05 +0000
commitfdc5fca96b0806cb5346754cf101eacefd90d14d (patch)
tree8ceb18e9f36b8194d2bab28476c40df08c9a80f7 /sys
parentMake this compile with gcc2. (diff)
downloadwireguard-openbsd-fdc5fca96b0806cb5346754cf101eacefd90d14d.tar.xz
wireguard-openbsd-fdc5fca96b0806cb5346754cf101eacefd90d14d.zip
the rest of the uvm commit - I commited from uvm instead of sys
(part missed from previous commit)
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_bio.c4
-rw-r--r--sys/sys/mount.h5
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 9985e1b9a39..c8b9353a62e 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_bio.c,v 1.132 2011/07/04 20:35:35 deraadt Exp $ */
+/* $OpenBSD: vfs_bio.c,v 1.133 2011/07/06 20:50:05 beck Exp $ */
/* $NetBSD: vfs_bio.c,v 1.44 1996/06/11 11:15:36 pk Exp $ */
/*
@@ -327,7 +327,7 @@ bufadjust(int newbufpages)
* Make the buffer cache back off from cachepct.
*/
int
-bufbackoff()
+bufbackoff(struct uvm_constraint_range *range, long size)
{
/*
* Back off the amount of buffer cache pages. Called by the page
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index aa0284fe4ef..a64252d8e78 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount.h,v 1.104 2011/07/06 00:11:57 beck Exp $ */
+/* $OpenBSD: mount.h,v 1.105 2011/07/06 20:50:05 beck Exp $ */
/* $NetBSD: mount.h,v 1.48 1996/02/18 11:55:47 fvdl Exp $ */
/*
@@ -506,7 +506,8 @@ extern long buflowpages, bufhighpages, bufbackpages;
: bcstats.numcleanpages - buflowpages)
extern int bufcachepercent;
extern void bufadjust(int);
-extern int bufbackoff(void);
+struct uvm_constraint_range;
+extern int bufbackoff(struct uvm_constraint_range*, long);
/*
* Operations supported on mounted file system.