pm_remove_all is a shared field so move it out the #ifdefs

This commit is contained in:
skrll 2021-10-16 07:04:36 +00:00
parent 63761ec5d3
commit 3919694e35
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.h,v 1.170 2021/05/04 09:02:21 skrll Exp $ */
/* $NetBSD: pmap.h,v 1.171 2021/10/16 07:04:36 skrll Exp $ */
/*
* Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@ -238,10 +238,10 @@ struct pmap {
struct l2_dtable *pm_l2[L2_SIZE];
struct pmap_statistics pm_stats;
LIST_ENTRY(pmap) pm_list;
bool pm_remove_all;
#ifdef ARM_MMU_EXTENDED
pd_entry_t *pm_l1;
paddr_t pm_l1_pa;
bool pm_remove_all;
#ifdef MULTIPROCESSOR
kcpuset_t *pm_onproc;
kcpuset_t *pm_active;
@ -255,7 +255,6 @@ struct pmap {
union pmap_cache_state pm_cstate;
uint8_t pm_domain;
bool pm_activated;
bool pm_remove_all;
#endif
};