summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/uvm/uvm_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c
index c7c34a8f9bd..e5bc2a01187 100644
--- a/sys/uvm/uvm_map.c
+++ b/sys/uvm/uvm_map.c
@@ -199,7 +199,7 @@ do { \
} while (0)
#else
#define vm_map_upgrade(map) \
- (void) lockmgr(&(map)->lock, LK_UPGRADE, NULL)
+ (void) lockmgr(&(map)->lock, LK_UPGRADE, NULL, curproc)
#endif /* DIAGNOSTIC */