summaryrefslogtreecommitdiff
path: root/sys/vm/vm_map.h
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2000-10-12 22:37:28 +0000
committerJason Evans <jasone@FreeBSD.org>2000-10-12 22:37:28 +0000
commit9722d88fba2c4016b66c281a16a1be84a32af95c (patch)
tree7ce9eab3c738ff1f9586ceac1b646763bab57396 /sys/vm/vm_map.h
parent1df2031c1502b456210934bb3838bc23c64bb5d7 (diff)
Notes
Diffstat (limited to 'sys/vm/vm_map.h')
-rw-r--r--sys/vm/vm_map.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/vm/vm_map.h b/sys/vm/vm_map.h
index d23848805569..ef48af20d5df 100644
--- a/sys/vm/vm_map.h
+++ b/sys/vm/vm_map.h
@@ -291,15 +291,15 @@ _vm_map_lock_upgrade(vm_map_t map, struct proc *p) {
#define vm_map_set_recursive(map) \
do { \
- mtx_enter(&(map)->lock.lk_interlock, MTX_DEF); \
+ mtx_enter((map)->lock.lk_interlock, MTX_DEF); \
(map)->lock.lk_flags |= LK_CANRECURSE; \
- mtx_exit(&(map)->lock.lk_interlock, MTX_DEF); \
+ mtx_exit((map)->lock.lk_interlock, MTX_DEF); \
} while(0)
#define vm_map_clear_recursive(map) \
do { \
- mtx_enter(&(map)->lock.lk_interlock, MTX_DEF); \
+ mtx_enter((map)->lock.lk_interlock, MTX_DEF); \
(map)->lock.lk_flags &= ~LK_CANRECURSE; \
- mtx_exit(&(map)->lock.lk_interlock, MTX_DEF); \
+ mtx_exit((map)->lock.lk_interlock, MTX_DEF); \
} while(0)
/*