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 Don't define pt_entry_t if _LOCORE



details:   https://anonhg.NetBSD.org/src/rev/f275ed0f46e9
branches:  trunk
changeset: 1008646:f275ed0f46e9
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Mar 29 21:34:33 2020 +0000

description:
Don't define pt_entry_t if _LOCORE

Reported by Patrick Welche

diffstat:

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

diffs (26 lines):

diff -r b092a8fd0bf8 -r f275ed0f46e9 sys/arch/arm/include/arm32/pmap.h
--- a/sys/arch/arm/include/arm32/pmap.h Sun Mar 29 21:06:03 2020 +0000
+++ b/sys/arch/arm/include/arm32/pmap.h Sun Mar 29 21:34:33 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.165 2020/03/29 09:01:32 skrll Exp $ */
+/*     $NetBSD: pmap.h,v 1.166 2020/03/29 21:34:33 skrll Exp $ */
 
 /*
  * Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@@ -1184,14 +1184,14 @@
        (pg)->mdpage.k_mappings = 0;                                    \
 } while (/*CONSTCOND*/0)
 
-#endif /* !_LOCORE */
-
 #ifndef        __BSD_PTENTRY_T__
 #define        __BSD_PTENTRY_T__
 typedef uint32_t pt_entry_t;
 #define PRIxPTE                PRIx32
 #endif
 
+#endif /* !_LOCORE */
+
 #endif /* _KERNEL */
 
 #endif /* _ARM32_PMAP_H_ */



Home | Main Index | Thread Index | Old Index