Module Name: src
Committed By: skrll
Date: Sun Mar 29 21:34:33 UTC 2020
Modified Files:
src/sys/arch/arm/include/arm32: pmap.h
Log Message:
Don't define pt_entry_t if _LOCORE
Reported by Patrick Welche
To generate a diff of this commit:
cvs rdiff -u -r1.165 -r1.166 src/sys/arch/arm/include/arm32/pmap.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/include/arm32/pmap.h
diff -u src/sys/arch/arm/include/arm32/pmap.h:1.165 src/sys/arch/arm/include/arm32/pmap.h:1.166
--- src/sys/arch/arm/include/arm32/pmap.h:1.165 Sun Mar 29 09:01:32 2020
+++ src/sys/arch/arm/include/arm32/pmap.h Sun Mar 29 21:34:33 2020
@@ -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 @@ do { \
(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_ */