summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_mmap.c
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2007-05-31 21:20:31 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2007-05-31 21:20:31 +0000
commit7ca5e9cc58ada482095b6fcbc853f50f024b6cc5 (patch)
tree7f95c3dc545c42f28c1f8668d209ba2184c025d4 /sys/uvm/uvm_mmap.c
parent98cc90e48d34b08bc1a44e8e8cba71d6c44f7f89 (diff)
zap the vm_amap am_l simplelock, and amap_{lock/unlock} macros for
simple_{lock/unlock}. ok art@
Diffstat (limited to 'sys/uvm/uvm_mmap.c')
-rw-r--r--sys/uvm/uvm_mmap.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/uvm/uvm_mmap.c b/sys/uvm/uvm_mmap.c
index 294a4c0beef..7a8982a9f7d 100644
--- a/sys/uvm/uvm_mmap.c
+++ b/sys/uvm/uvm_mmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_mmap.c,v 1.67 2007/03/27 16:13:46 art Exp $ */
+/* $OpenBSD: uvm_mmap.c,v 1.68 2007/05/31 21:20:30 thib Exp $ */
/* $NetBSD: uvm_mmap.c,v 1.49 2001/02/18 21:19:08 chs Exp $ */
/*
@@ -321,8 +321,6 @@ sys_mincore(p, v, retval)
amap = entry->aref.ar_amap; /* top layer */
uobj = entry->object.uvm_obj; /* bottom layer */
- if (amap != NULL)
- amap_lock(amap);
if (uobj != NULL)
simple_lock(&uobj->vmobjlock);
@@ -360,8 +358,6 @@ sys_mincore(p, v, retval)
if (uobj != NULL)
simple_unlock(&uobj->vmobjlock);
- if (amap != NULL)
- amap_unlock(amap);
}
out: