update lockdebug detection to follow uvm_map.h rev.1.35.
(vm_map.header.{start,end} was swapped.)
This commit is contained in:
parent
69fc84d695
commit
4a1d5a0332
|
@ -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 @@ not_using_lockdebug(kvm_t *kd)
|
|||
|
||||
/* 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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue