summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2019-06-04 14:07:23 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2019-06-04 14:07:23 +0000
commit9caec1e7dcb8972d69d945561fbe9ac0953d31bb (patch)
treeceef8723beebd9311037a49f2335b64da5805348
parent66b4ff71d18a3c4b2eea68c9a36be79d8c722ecf (diff)
Remove the unused pvh_attrs attribute from struct vm_page_md.
ok kettenis@
-rw-r--r--sys/arch/arm64/include/pmap.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/arm64/include/pmap.h b/sys/arch/arm64/include/pmap.h
index b6587e30886..bf12dbc001c 100644
--- a/sys/arch/arm64/include/pmap.h
+++ b/sys/arch/arm64/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.12 2019/02/16 20:14:14 patrick Exp $ */
+/* $OpenBSD: pmap.h,v 1.13 2019/06/04 14:07:22 patrick Exp $ */
/*
* Copyright (c) 2008,2009,2014 Dale Rahn <drahn@dalerahn.com>
*
@@ -117,13 +117,11 @@ void pmap_map_early(paddr_t, psize_t);
struct vm_page_md {
struct mutex pv_mtx;
LIST_HEAD(,pte_desc) pv_list;
- int pvh_attrs; /* page attributes */
};
#define VM_MDPAGE_INIT(pg) do { \
mtx_init(&(pg)->mdpage.pv_mtx, IPL_VM); \
- LIST_INIT(&((pg)->mdpage.pv_list)); \
- (pg)->mdpage.pvh_attrs = 0; \
+ LIST_INIT(&((pg)->mdpage.pv_list)); \
} while (0)
#endif /* _LOCORE */