From 5c9c68e2ba8a75c5a8e2827887fb74c5b0c58dd3 Mon Sep 17 00:00:00 2001 From: mts Date: Tue, 17 Jul 2001 10:55:03 +0000 Subject: i suk. needs &'s on the locks... --- sys/uvm/uvm_map.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') 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; -- cgit v1.2.3