Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/pmap update lockdebug detection to follow uvm_map.h ...
details: https://anonhg.NetBSD.org/src/rev/7526cc8c10d3
branches: trunk
changeset: 552069:7526cc8c10d3
user: yamt <yamt%NetBSD.org@localhost>
date: Wed Sep 17 21:59:52 2003 +0000
description:
update lockdebug detection to follow uvm_map.h rev.1.35.
(vm_map.header.{start,end} was swapped.)
diffstat:
usr.bin/pmap/main.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r a625928b115b -r 7526cc8c10d3 usr.bin/pmap/main.c
--- a/usr.bin/pmap/main.c Wed Sep 17 21:09:18 2003 +0000
+++ b/usr.bin/pmap/main.c Wed Sep 17 21:59:52 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.11 2003/07/31 15:47:57 yamt Exp $ */
+/* $NetBSD: main.c,v 1.12 2003/09/17 21:59:52 yamt Exp $ */
/*
* Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: main.c,v 1.11 2003/07/31 15:47:57 yamt Exp $");
+__RCSID("$NetBSD: main.c,v 1.12 2003/09/17 21:59:52 yamt Exp $");
#endif
#include <sys/param.h>
@@ -446,10 +446,10 @@
/* we have entries, so there must be referential integrity */
if (D(vm_map_entry, vm_map_entry)->prev == P(header) &&
- D(header, vm_map_entry)->start <=
+ D(header, vm_map_entry)->end <=
D(vm_map_entry, vm_map_entry)->start &&
D(vm_map_entry, vm_map_entry)->end <=
- D(header, vm_map_entry)->end)
+ D(header, vm_map_entry)->start)
return (0);
}
Home |
Main Index |
Thread Index |
Old Index