From: miod Date: Thu, 8 Sep 2022 10:21:45 +0000 (+0000) Subject: Remove vm_page_md fields which were only needed for pre-v7 arm ports. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=238cd070b25ce41320ce8657c79c0cd2f3cf7734;p=openbsd Remove vm_page_md fields which were only needed for pre-v7 arm ports. --- diff --git a/sys/arch/arm/include/pmap.h b/sys/arch/arm/include/pmap.h index 31536c758bc..f2a34d59fe9 100644 --- a/sys/arch/arm/include/pmap.h +++ b/sys/arch/arm/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.49 2019/12/19 17:53:27 mpi Exp $ */ +/* $OpenBSD: pmap.h,v 1.50 2022/09/08 10:21:45 miod Exp $ */ /* $NetBSD: pmap.h,v 1.76 2003/09/06 09:10:46 rearnsha Exp $ */ /* @@ -645,24 +645,12 @@ extern uint32_t pmap_alias_bits; struct vm_page_md { struct pv_entry *pvh_list; /* pv_entry list */ int pvh_attrs; /* page attributes */ - u_int uro_mappings; - u_int urw_mappings; - union { - u_short s_mappings[2]; /* Assume kernel count <= 65535 */ - u_int i_mappings; - } k_u; -#define kro_mappings k_u.s_mappings[0] -#define krw_mappings k_u.s_mappings[1] -#define k_mappings k_u.i_mappings }; #define VM_MDPAGE_INIT(pg) \ do { \ (pg)->mdpage.pvh_list = NULL; \ (pg)->mdpage.pvh_attrs = 0; \ - (pg)->mdpage.uro_mappings = 0; \ - (pg)->mdpage.urw_mappings = 0; \ - (pg)->mdpage.k_mappings = 0; \ } while (/*CONSTCOND*/0) #endif /* _LOCORE */