diff options
author | alc <alc@FreeBSD.org> | 2002-06-02 06:31:41 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2002-06-02 06:31:41 +0000 |
commit | 6c9e59ad0036cf371711ed760fde503eb6ce580e (patch) | |
tree | 9b6871fa4f7f0d3f438c55160a531a8ac9062169 /sys/vm/vm_object.c | |
parent | 3ff28a5819e5627cd1f0beaf945d5e5543ccf5d1 (diff) | |
download | FreeBSD-src-6c9e59ad0036cf371711ed760fde503eb6ce580e.zip FreeBSD-src-6c9e59ad0036cf371711ed760fde503eb6ce580e.tar.gz |
o Condition vm_object_pmap_copy_1()'s compilation on the kernel
option ENABLE_VFS_IOOPT. Unless this option is in effect,
vm_object_pmap_copy_1() is not used.
Diffstat (limited to 'sys/vm/vm_object.c')
-rw-r--r-- | sys/vm/vm_object.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index d4fe3f3..2760eba 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -920,6 +920,7 @@ vm_object_page_collect_flush(vm_object_t object, vm_page_t p, int curgeneration, return(maxf + 1); } +#ifdef ENABLE_VFS_IOOPT /* * Same as vm_object_pmap_copy, except range checking really * works, and is meant for small sections of an object. @@ -949,6 +950,7 @@ vm_object_pmap_copy_1(vm_object_t object, vm_pindex_t start, vm_pindex_t end) vm_page_protect(p, VM_PROT_READ); } } +#endif /* * vm_object_pmap_remove: |