From 1b1ed59c8e3e3e00c7172ff67e882aad84ecf648 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Tue, 29 Oct 2002 01:26:59 +0000 Subject: "len = entry->end - entry->start;" then logically "entry->start + len" should be equal to "entry->end". (len is never changed) --- sys/uvm/uvm_map.c | 4 ++-- 1 file 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)); -- cgit v1.2.3