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/2776347cf339
branches:  trunk
changeset: 935502:2776347cf339
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 8f7349f02f33 -r 2776347cf339 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