diff options
| author | riastradh <riastradh@NetBSD.org> | 2019-08-01 02:28:55 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2019-08-01 02:28:55 +0000 |
| commit | 66db15844adc0c8564697b54d4db8f38529efed6 (patch) | |
| tree | 949c151f6653670a91a02ba1168e1297d7fdf845 | |
| parent | d38580f5b45c416f2c7a337ddd1e07c34f5293b2 (diff) | |
Remove last trace of never-used map_attrib.
| -rw-r--r-- | sys/uvm/uvm_map.c | 6 | ||||
| -rw-r--r-- | sys/uvm/uvm_map.h | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c index 1217f87546f..7a843f7353c 100644 --- a/sys/uvm/uvm_map.c +++ b/sys/uvm/uvm_map.c @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_map.c,v 1.362 2019/07/12 06:27:13 mlelstv Exp $ */ +/* $NetBSD: uvm_map.c,v 1.363 2019/08/01 02:28:55 riastradh Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -66,7 +66,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.362 2019/07/12 06:27:13 mlelstv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.363 2019/08/01 02:28:55 riastradh Exp $"); #include "opt_ddb.h" #include "opt_pax.h" @@ -4948,7 +4948,7 @@ fill_vmentry(struct lwp *l, struct proc *p, struct kinfo_vmentry *kve, kve->kve_offset = e->offset; kve->kve_wired_count = e->wired_count; kve->kve_inheritance = e->inheritance; - kve->kve_attributes = 0; /* e->map_attrib */ + kve->kve_attributes = 0; /* unused */ kve->kve_advice = e->advice; #define PROT(p) (((p) & VM_PROT_READ) ? KVME_PROT_READ : 0) | \ (((p) & VM_PROT_WRITE) ? KVME_PROT_WRITE : 0) | \ diff --git a/sys/uvm/uvm_map.h b/sys/uvm/uvm_map.h index 56db8604f60..acece1ea46d 100644 --- a/sys/uvm/uvm_map.h +++ b/sys/uvm/uvm_map.h @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_map.h,v 1.74 2017/05/18 02:21:05 christos Exp $ */ +/* $NetBSD: uvm_map.h,v 1.75 2019/08/01 02:28:55 riastradh Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -146,7 +146,6 @@ struct vm_map_entry { int wired_count; /* can be paged if == 0 */ struct vm_aref aref; /* anonymous overlay */ int advice; /* madvise advice */ - uint32_t map_attrib; /* uvm-external map attributes */ #define uvm_map_entry_stop_copy flags u_int8_t flags; /* flags */ |
