diff options
author | 2001-07-17 10:55:02 +0000 | |
---|---|---|
committer | 2001-07-17 10:55:02 +0000 | |
commit | 589e0503d67c0319c84cbc3d4dad71657c06502f (patch) | |
tree | e3b3c70809ad2ce17f8c478e0cd8a025ff4f7e4d | |
parent | current netbsd's uvm_map uses a 3-parm SAVE_HINT to perform a test/swap (diff) | |
download | wireguard-openbsd-589e0503d67c0319c84cbc3d4dad71657c06502f.tar.xz wireguard-openbsd-589e0503d67c0319c84cbc3d4dad71657c06502f.zip |
i suk. needs &'s on the locks...
-rw-r--r-- | sys/uvm/uvm_map.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c index 07365816ab7..13f15ea07dc 100644 --- a/sys/uvm/uvm_map.c +++ b/sys/uvm/uvm_map.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.c,v 1.18 2001/07/17 10:31:08 mts Exp $ */ +/* $OpenBSD: uvm_map.c,v 1.19 2001/07/17 10:55:02 mts Exp $ */ /* $NetBSD: uvm_map.c,v 1.68 1999/08/21 02:19:05 thorpej Exp $ */ /* @@ -1060,10 +1060,10 @@ uvm_unmap_remove(map, start, end, entry_list) /* critical! prevents stale hint */ /* XXX: need SAVE_HINT with three parms */ - simple_lock(map->hint_lock); + simple_lock(&map->hint_lock); if (map->hint == entry) map->hint = entry->prev; - simple_unlock(map->hint_lock); + simple_unlock(&map->hint_lock); uvm_map_entry_unlink(map, entry); map->size -= len; |