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 Protect with #ifdef _KERNEL



details:   https://anonhg.NetBSD.org/src/rev/4c0942884f39
branches:  trunk
changeset: 973558:4c0942884f39
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Jul 04 07:02:35 2020 +0000

description:
Protect with #ifdef _KERNEL

diffstat:

 sys/arch/arm/include/arm32/machdep.h |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r e9eda21a585a -r 4c0942884f39 sys/arch/arm/include/arm32/machdep.h
--- a/sys/arch/arm/include/arm32/machdep.h      Sat Jul 04 06:24:53 2020 +0000
+++ b/sys/arch/arm/include/arm32/machdep.h      Sat Jul 04 07:02:35 2020 +0000
@@ -1,8 +1,10 @@
-/* $NetBSD: machdep.h,v 1.33 2020/03/05 15:18:54 riastradh Exp $ */
+/* $NetBSD: machdep.h,v 1.34 2020/07/04 07:02:35 skrll Exp $ */
 
 #ifndef _ARM32_MACHDEP_H_
 #define _ARM32_MACHDEP_H_
 
+#ifdef _KERNEL
+
 /* Define various stack sizes in pages */
 #ifndef IRQ_STACK_SIZE
 #define IRQ_STACK_SIZE 1
@@ -103,4 +105,7 @@
 #ifdef DIAGNOSTIC
 void dump_spl_masks(void);
 #endif
-#endif
+
+#endif /* _KERNEL */
+
+#endif /* _ARM32_MACHDEP_H_ */



Home | Main Index | Thread Index | Old Index