Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/include/arm32 pm_remove_all is a shared field s...



details:   https://anonhg.NetBSD.org/src/rev/50271725e72d
branches:  trunk
changeset: 989526:50271725e72d
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Oct 16 07:04:36 2021 +0000

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

diffstat:

 sys/arch/arm/include/arm32/pmap.h |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r f2d96d7eecd2 -r 50271725e72d sys/arch/arm/include/arm32/pmap.h
--- a/sys/arch/arm/include/arm32/pmap.h Sat Oct 16 07:01:02 2021 +0000
+++ b/sys/arch/arm/include/arm32/pmap.h Sat Oct 16 07:04:36 2021 +0000
@@ -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 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 @@
        union pmap_cache_state  pm_cstate;
        uint8_t                 pm_domain;
        bool                    pm_activated;
-       bool                    pm_remove_all;
 #endif
 };
 



Home | Main Index | Thread Index | Old Index