diff options
author | alc <alc@FreeBSD.org> | 2003-01-14 02:28:39 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-01-14 02:28:39 +0000 |
commit | f65aba14181975e57c3a116f6514c207d44a856c (patch) | |
tree | d668ea0bd168fc6c4a84bd1f54e40d560af872a8 /sys/vm | |
parent | af3bc8c042c2a3a17dba6be0e280309eac3e8eb3 (diff) | |
download | FreeBSD-src-f65aba14181975e57c3a116f6514c207d44a856c.zip FreeBSD-src-f65aba14181975e57c3a116f6514c207d44a856c.tar.gz |
Make vm_pageout_page_free() static.
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_pageout.c | 3 | ||||
-rw-r--r-- | sys/vm/vm_pageout.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index b94854e..84d4cac 100644 --- a/sys/vm/vm_pageout.c +++ b/sys/vm/vm_pageout.c @@ -110,6 +110,7 @@ /* the kernel process "vm_pageout"*/ static void vm_pageout(void); static int vm_pageout_clean(vm_page_t); +static void vm_pageout_page_free(vm_page_t); static void vm_pageout_pmap_collect(void); static void vm_pageout_scan(int pass); static int vm_pageout_free_page_calc(vm_size_t count); @@ -612,7 +613,7 @@ vm_pageout_map_deactivate_pages(map, desired) * to vnode deadlocks. We only do it for OBJT_DEFAULT and OBJT_SWAP objects * which we know can be trivially freed. */ -void +static void vm_pageout_page_free(vm_page_t m) { vm_object_t object = m->object; diff --git a/sys/vm/vm_pageout.h b/sys/vm/vm_pageout.h index d68ec79..8ebebe2 100644 --- a/sys/vm/vm_pageout.h +++ b/sys/vm/vm_pageout.h @@ -114,6 +114,5 @@ int swap_pager_isswapped(vm_object_t, int); void vm_pageout_page(vm_page_t, vm_object_t); void vm_pageout_cluster(vm_page_t, vm_object_t); int vm_pageout_flush(vm_page_t *, int, int); -void vm_pageout_page_free(vm_page_t); #endif #endif /* _VM_VM_PAGEOUT_H_ */ |