diff options
author | attilio <attilio@FreeBSD.org> | 2013-02-06 17:27:41 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2013-02-06 17:27:41 +0000 |
commit | abbe2a9b91da46029a3aa7ab104f8087d6da1947 (patch) | |
tree | 5863b562954cce4999ac8520964c06683cfe5901 | |
parent | cde4f0caa2bc9884e5b685118a494ad21a059338 (diff) | |
download | FreeBSD-src-abbe2a9b91da46029a3aa7ab104f8087d6da1947.zip FreeBSD-src-abbe2a9b91da46029a3aa7ab104f8087d6da1947.tar.gz |
- Move the vm_object_cache_is_empty() prototype to be sorted
alphabetically.
- Change the return type to be boolean_t in order to match what
vm_page_is_cached() does.
-rw-r--r-- | sys/vm/vm_object.c | 2 | ||||
-rw-r--r-- | sys/vm/vm_object.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index d42a364..703804b 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -2156,7 +2156,7 @@ vm_object_set_writeable_dirty(vm_object_t object) vm_object_set_flag(object, OBJ_MIGHTBEDIRTY); } -int +boolean_t vm_object_cache_is_empty(vm_object_t object) { diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h index 41e53bf..3c60353 100644 --- a/sys/vm/vm_object.h +++ b/sys/vm/vm_object.h @@ -235,9 +235,9 @@ void vm_object_pip_wait(vm_object_t object, char *waitid); vm_object_t vm_object_allocate (objtype_t, vm_pindex_t); void _vm_object_allocate (objtype_t, vm_pindex_t, vm_object_t); +boolean_t vm_object_cache_is_empty (vm_object_t); boolean_t vm_object_coalesce(vm_object_t, vm_ooffset_t, vm_size_t, vm_size_t, boolean_t); -int vm_object_cache_is_empty (vm_object_t); void vm_object_collapse (vm_object_t); void vm_object_deallocate (vm_object_t); void vm_object_destroy (vm_object_t); |