summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-10-29 01:26:59 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-10-29 01:26:59 +0000
commit1b1ed59c8e3e3e00c7172ff67e882aad84ecf648 (patch)
treee10967421abf2e94de21f452e89861156ff6c697 /sys/uvm
parentb693b9523c00189690ca72681e7b4658fbe2a4b5 (diff)
"len = entry->end - entry->start;" then logically "entry->start + len"
should be equal to "entry->end". (len is never changed)
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c
index e7437a1d03b..eff1798f895 100644
--- a/sys/uvm/uvm_map.c
+++ b/sys/uvm/uvm_map.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_map.c,v 1.53 2002/10/17 22:08:37 art Exp $ */
+/* $OpenBSD: uvm_map.c,v 1.54 2002/10/29 01:26:58 art Exp $ */
/* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */
/*
@@ -1441,7 +1441,7 @@ uvm_unmap_remove(map, start, end, entry_list)
entry->end - vm_map_min(kernel_map));
} else {
pmap_remove(pmap_kernel(), entry->start,
- entry->start + len);
+ entry->end);
uvm_km_pgremove(entry->object.uvm_obj,
entry->start - vm_map_min(kernel_map),
entry->end - vm_map_min(kernel_map));