summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_object.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/uvm/uvm_object.c')
-rw-r--r--sys/uvm/uvm_object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_object.c b/sys/uvm/uvm_object.c
index 6a666f15965..a326d7147f6 100644
--- a/sys/uvm/uvm_object.c
+++ b/sys/uvm/uvm_object.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_object.c,v 1.13 2015/08/21 16:04:35 visa Exp $ */
+/* $OpenBSD: uvm_object.c,v 1.14 2016/09/16 02:35:42 dlg Exp $ */
/*
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -50,7 +50,7 @@ void
uvm_objinit(struct uvm_object *uobj, struct uvm_pagerops *pgops, int refs)
{
uobj->pgops = pgops;
- RB_INIT(&uobj->memt);
+ RBT_INIT(uvm_objtree, &uobj->memt);
uobj->uo_npages = 0;
uobj->uo_refs = refs;
}