diff options
| author | Alan Cox <alc@FreeBSD.org> | 2003-06-09 06:50:02 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2003-06-09 06:50:02 +0000 |
| commit | 3471677cc9f7e78ccb1cb9f3dee6aa4868a01042 (patch) | |
| tree | 77f5ad3ae99ed1ce33bd67f7123020e444e8ab33 /sys/vm/vm_object.c | |
| parent | 87ddbe28e840b102445dc38dcc8dea7fa1ff61c2 (diff) | |
Notes
Diffstat (limited to 'sys/vm/vm_object.c')
| -rw-r--r-- | sys/vm/vm_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index f4063684bc84..30d5bd2d0ef1 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 |
