summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2012-04-06 20:34:00 +0000
committerattilio <attilio@FreeBSD.org>2012-04-06 20:34:00 +0000
commit4bd8f1d188e53a16720092a323327ecc0325dadc (patch)
treec0301a07d2e49dbca0bb1f5986f987a73544b4e3 /sys/vm
parent6c37128bdd2a8b12ec357169596bdc5a2ea8fdc6 (diff)
downloadFreeBSD-src-4bd8f1d188e53a16720092a323327ecc0325dadc.zip
FreeBSD-src-4bd8f1d188e53a16720092a323327ecc0325dadc.tar.gz
Staticize vm_page_cache_remove().
Reviewed by: alc
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_page.c2
-rw-r--r--sys/vm/vm_page.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 8fec8b0..f83cd90 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -1181,7 +1181,7 @@ vm_page_cache_lookup(vm_object_t object, vm_pindex_t pindex)
*
* The free page queue must be locked.
*/
-void
+static void
vm_page_cache_remove(vm_page_t m)
{
vm_object_t object;
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h
index 50465a7..a5e2523 100644
--- a/sys/vm/vm_page.h
+++ b/sys/vm/vm_page.h
@@ -384,7 +384,6 @@ vm_page_t vm_page_alloc_freelist(int, int);
vm_page_t vm_page_grab (vm_object_t, vm_pindex_t, int);
void vm_page_cache(vm_page_t);
void vm_page_cache_free(vm_object_t, vm_pindex_t, vm_pindex_t);
-void vm_page_cache_remove(vm_page_t);
void vm_page_cache_transfer(vm_object_t, vm_pindex_t, vm_object_t);
int vm_page_try_to_cache (vm_page_t);
int vm_page_try_to_free (vm_page_t);
OpenPOWER on IntegriCloud