Remove last trace of never-used map_attrib.
This commit is contained in:
parent
9a9a41227b
commit
f1a5ceb12e
|
@ -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) | \
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue