summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_object.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-08-26 04:51:39 +0000
committerobrien <obrien@FreeBSD.org>2000-08-26 04:51:39 +0000
commitdba23c4faf4c3e30366c2e68324b0abe4add7ef4 (patch)
treef7e4deab16dd20fdef286bbb024722e54f5eef3e /sys/vm/vm_object.h
parentaabc443d9cccb75ad2e667e7c0f610056494b504 (diff)
downloadFreeBSD-src-dba23c4faf4c3e30366c2e68324b0abe4add7ef4.zip
FreeBSD-src-dba23c4faf4c3e30366c2e68324b0abe4add7ef4.tar.gz
Make the arguments match the functionality of the functions.
Diffstat (limited to 'sys/vm/vm_object.h')
-rw-r--r--sys/vm/vm_object.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h
index 881cffe..73b4d9d 100644
--- a/sys/vm/vm_object.h
+++ b/sys/vm/vm_object.h
@@ -172,25 +172,25 @@ extern vm_object_t kmem_object;
#ifdef _KERNEL
static __inline void
-vm_object_set_flag(vm_object_t object, u_int bits)
+vm_object_set_flag(vm_object_t object, u_short bits)
{
atomic_set_short(&object->flags, bits);
}
static __inline void
-vm_object_clear_flag(vm_object_t object, u_int bits)
+vm_object_clear_flag(vm_object_t object, u_short bits)
{
atomic_clear_short(&object->flags, bits);
}
static __inline void
-vm_object_pip_add(vm_object_t object, int i)
+vm_object_pip_add(vm_object_t object, short i)
{
atomic_add_short(&object->paging_in_progress, i);
}
static __inline void
-vm_object_pip_subtract(vm_object_t object, int i)
+vm_object_pip_subtract(vm_object_t object, short i)
{
atomic_subtract_short(&object->paging_in_progress, i);
}
@@ -206,7 +206,7 @@ vm_object_pip_wakeup(vm_object_t object)
}
static __inline void
-vm_object_pip_wakeupn(vm_object_t object, int i)
+vm_object_pip_wakeupn(vm_object_t object, short i)
{
if (i)
atomic_subtract_short(&object->paging_in_progress, i);
OpenPOWER on IntegriCloud