diff options
Diffstat (limited to 'sys/vm/vm_object.h')
-rw-r--r-- | sys/vm/vm_object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h index 4f4f77b..9dd0ab9 100644 --- a/sys/vm/vm_object.h +++ b/sys/vm/vm_object.h @@ -171,6 +171,8 @@ extern vm_object_t kernel_object; /* the single kernel object */ extern vm_object_t kmem_object; #define VM_OBJECT_LOCK(object) mtx_lock(&(object)->mtx) +#define VM_OBJECT_LOCK_ASSERT(object, type) \ + mtx_assert(&(object)->mtx, (type)) #define VM_OBJECT_UNLOCK(object) mtx_unlock(&(object)->mtx) #define vm_object_lock(object) \ |