summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_map_i.h
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2002-02-28 18:50:27 +0000
committerNiels Provos <provos@cvs.openbsd.org>2002-02-28 18:50:27 +0000
commitbda610f604cd1933feb39be8f6e601f48783519c (patch)
tree0e5c455b659983614d998f6770c2e956634ab7de /sys/uvm/uvm_map_i.h
parent7cd8bc0dd5fe953476b3cde1f189a057e825fb22 (diff)
use red-black tree for lookup_entry. the red-black tree case for
map_findspace is still broken on alpha. this will make debugging easier. okay millert@
Diffstat (limited to 'sys/uvm/uvm_map_i.h')
-rw-r--r--sys/uvm/uvm_map_i.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/uvm/uvm_map_i.h b/sys/uvm/uvm_map_i.h
index cb171708215..7ed2826dcd6 100644
--- a/sys/uvm/uvm_map_i.h
+++ b/sys/uvm/uvm_map_i.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_map_i.h,v 1.14 2002/02/25 05:38:50 provos Exp $ */
+/* $OpenBSD: uvm_map_i.h,v 1.15 2002/02/28 18:50:26 provos Exp $ */
/* $NetBSD: uvm_map_i.h,v 1.18 2000/11/27 08:40:04 chs Exp $ */
/*
@@ -114,6 +114,7 @@ uvm_map_setup(map, min, max, flags)
int flags;
{
+ RB_INIT(&map->rbhead);
map->header.next = map->header.prev = &map->header;
map->nentries = 0;
map->size = 0;