summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_object.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_object.c')
-rw-r--r--sys/vm/vm_object.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 3de793b..d69782d 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -208,7 +208,12 @@ _vm_object_allocate(objtype_t type, vm_pindex_t size, vm_object_t object)
TAILQ_INIT(&object->memq);
LIST_INIT(&object->shadow_head);
+#ifdef VM_RADIX
+ object->rtree.rt_height = 0;
+ object->rtree.rt_root = NULL;
+#else
object->root = NULL;
+#endif
object->type = type;
object->size = size;
object->generation = 1;
OpenPOWER on IntegriCloud