diff options
author | alc <alc@FreeBSD.org> | 1999-05-14 23:09:34 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 1999-05-14 23:09:34 +0000 |
commit | e79d7db00beb4a2937430bdd6fc71ca1c91c6145 (patch) | |
tree | 1c85af899d8377c05ffc720589de279d803bb9fe /sys/vm/vm_map.h | |
parent | 188a2f4871a753bcb906e6c1502ee302010b2390 (diff) | |
download | FreeBSD-src-e79d7db00beb4a2937430bdd6fc71ca1c91c6145.zip FreeBSD-src-e79d7db00beb4a2937430bdd6fc71ca1c91c6145.tar.gz |
Simplify vm_map_find/insert's interface: remove the MAP_COPY_NEEDED option.
It never makes sense to specify MAP_COPY_NEEDED without also specifying
MAP_COPY_ON_WRITE, and vice versa. Thus, MAP_COPY_ON_WRITE suffices.
Reviewed by: David Greenman <dg@root.com>
Diffstat (limited to 'sys/vm/vm_map.h')
-rw-r--r-- | sys/vm/vm_map.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/vm/vm_map.h b/sys/vm/vm_map.h index 330c24a..871934b 100644 --- a/sys/vm/vm_map.h +++ b/sys/vm/vm_map.h @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_map.h,v 1.37 1999/03/02 05:43:18 alc Exp $ + * $Id: vm_map.h,v 1.38 1999/03/06 07:11:33 alc Exp $ */ /* @@ -305,9 +305,9 @@ vmspace_resident_count(struct vmspace *vmspace) /* * Copy-on-write flags for vm_map operations */ -#define MAP_COPY_NEEDED 0x1 -#define MAP_COPY_ON_WRITE 0x2 -#define MAP_NOFAULT 0x4 +#define MAP_UNUSED_01 0x1 +#define MAP_COPY_ON_WRITE 0x2 +#define MAP_NOFAULT 0x4 /* * vm_fault option flags |