summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_map_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/uvm/uvm_map_i.h')
-rw-r--r--sys/uvm/uvm_map_i.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_map_i.h b/sys/uvm/uvm_map_i.h
index 65b01852445..21bc39cea41 100644
--- a/sys/uvm/uvm_map_i.h
+++ b/sys/uvm/uvm_map_i.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_map_i.h,v 1.19 2007/03/25 13:02:51 thib Exp $ */
+/* $OpenBSD: uvm_map_i.h,v 1.20 2007/04/04 18:02:59 art Exp $ */
/* $NetBSD: uvm_map_i.h,v 1.18 2000/11/27 08:40:04 chs Exp $ */
/*
@@ -125,7 +125,7 @@ uvm_map_setup(map, min, max, flags)
map->first_free = &map->header;
map->hint = &map->header;
map->timestamp = 0;
- lockinit(&map->lock, PVM, "vmmaplk", 0, 0);
+ rw_init(&map->lock, "vmmaplk");
simple_lock_init(&map->ref_lock);
simple_lock_init(&map->hint_lock);