diff options
author | mts <mts@cvs.openbsd.org> | 2001-07-17 10:55:03 +0000 |
---|---|---|
committer | mts <mts@cvs.openbsd.org> | 2001-07-17 10:55:03 +0000 |
commit | 5c9c68e2ba8a75c5a8e2827887fb74c5b0c58dd3 (patch) | |
tree | 67870a717b5928f4efde1260d35ced04fb57402e /sys | |
parent | 4894bf98023d31e5d20486cf2ffa3717a4ef3a55 (diff) |
i suk. needs &'s on the locks...
Diffstat (limited to 'sys')
-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; |