summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2006-09-03 22:24:08 +0000
committeralc <alc@FreeBSD.org>2006-09-03 22:24:08 +0000
commit9fce925349f1fee8f770e53ac87edc3578835bf5 (patch)
tree7a2253b73e675d27b78d3b8919383bb44f2f11f4 /sys/vm
parenta984b3d1dea3be6ace7416f6f67738fd3b345628 (diff)
downloadFreeBSD-src-9fce925349f1fee8f770e53ac87edc3578835bf5.zip
FreeBSD-src-9fce925349f1fee8f770e53ac87edc3578835bf5.tar.gz
Make vm_page_release_contig() static.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_contig.c2
-rw-r--r--sys/vm/vm_page.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/vm/vm_contig.c b/sys/vm/vm_contig.c
index 12ec718..a2e9129 100644
--- a/sys/vm/vm_contig.c
+++ b/sys/vm/vm_contig.c
@@ -355,7 +355,7 @@ vm_page_release_contigl(vm_page_t m, vm_pindex_t count)
}
}
-void
+static void
vm_page_release_contig(vm_page_t m, vm_pindex_t count)
{
vm_page_lock_queues();
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h
index 415d88c..0deacb6 100644
--- a/sys/vm/vm_page.h
+++ b/sys/vm/vm_page.h
@@ -329,7 +329,6 @@ void vm_page_activate (vm_page_t);
vm_page_t vm_page_alloc (vm_object_t, vm_pindex_t, int);
vm_page_t vm_page_alloc_contig (vm_pindex_t, vm_paddr_t, vm_paddr_t,
vm_offset_t, vm_offset_t);
-void vm_page_release_contig (vm_page_t, vm_pindex_t);
vm_page_t vm_page_grab (vm_object_t, vm_pindex_t, int);
void vm_page_cache (register vm_page_t);
int vm_page_try_to_cache (vm_page_t);
OpenPOWER on IntegriCloud