Module Name: src
Committed By: riastradh
Date: Thu Aug 1 02:28:55 UTC 2019
Modified Files:
src/sys/uvm: uvm_map.c uvm_map.h
Log Message:
Remove last trace of never-used map_attrib.
To generate a diff of this commit:
cvs rdiff -u -r1.362 -r1.363 src/sys/uvm/uvm_map.c
cvs rdiff -u -r1.74 -r1.75 src/sys/uvm/uvm_map.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/uvm/uvm_map.c
diff -u src/sys/uvm/uvm_map.c:1.362 src/sys/uvm/uvm_map.c:1.363
--- src/sys/uvm/uvm_map.c:1.362 Fri Jul 12 06:27:13 2019
+++ src/sys/uvm/uvm_map.c Thu Aug 1 02:28:55 2019
@@ -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
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) | \
Index: src/sys/uvm/uvm_map.h
diff -u src/sys/uvm/uvm_map.h:1.74 src/sys/uvm/uvm_map.h:1.75
--- src/sys/uvm/uvm_map.h:1.74 Thu May 18 02:21:05 2017
+++ src/sys/uvm/uvm_map.h Thu Aug 1 02:28:55 2019
@@ -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 */