Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm redo the previous (uvm_map.c rev.1.195) correctly.
details: https://anonhg.NetBSD.org/src/rev/cedc2b59d549
branches: trunk
changeset: 580974:cedc2b59d549
user: yamt <yamt%NetBSD.org@localhost>
date: Wed May 18 01:34:53 2005 +0000
description:
redo the previous (uvm_map.c rev.1.195) correctly.
diffstat:
sys/uvm/uvm_map.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r a5a218064ac0 -r cedc2b59d549 sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Wed May 18 00:54:14 2005 +0000
+++ b/sys/uvm/uvm_map.c Wed May 18 01:34:53 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_map.c,v 1.195 2005/05/17 21:45:24 yamt Exp $ */
+/* $NetBSD: uvm_map.c,v 1.196 2005/05/18 01:34:53 yamt Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.195 2005/05/17 21:45:24 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.196 2005/05/18 01:34:53 yamt Exp $");
#include "opt_ddb.h"
#include "opt_uvmhist.h"
@@ -4440,7 +4440,8 @@
uobj, entry->flags, entry->protection,
entry->max_protection, entry->inheritance, entry->advice,
entry->wired_count) &&
- (uobj == NULL || prev->offset + size == entry->offset)) {
+ (uobj == NULL ||
+ prev->offset + prev->end - prev->start == entry->offset)) {
int error;
if (copying) {
Home |
Main Index |
Thread Index |
Old Index