From fd950733b75b48d2f33fc6841466cdb0e8cccb76 Mon Sep 17 00:00:00 2001 From: alc Date: Mon, 9 Jun 2003 06:50:02 +0000 Subject: Don't use vm_object_set_flag() to initialize the vm object's flags. --- sys/vm/vm_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index f406368..30d5bd2 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -200,7 +200,7 @@ _vm_object_allocate(objtype_t type, vm_pindex_t size, vm_object_t object) object->ref_count = 1; object->flags = 0; if ((object->type == OBJT_DEFAULT) || (object->type == OBJT_SWAP)) - vm_object_set_flag(object, OBJ_ONEMAPPING); + object->flags = OBJ_ONEMAPPING; if (size > (PQ_L2_SIZE / 3 + PQ_PRIME1)) incr = PQ_L2_SIZE / 3 + PQ_PRIME1; else -- cgit v1.1