Make vm_pageout_page_free() static.
This commit is contained in:
parent
af3bc8c042
commit
f65aba1418
@ -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;
|
||||
|
@ -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_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user