Protect with #ifdef _KERNEL

This commit is contained in:
skrll 2020-07-04 07:02:35 +00:00
parent 08ffba536b
commit db6bf946c6
1 changed files with 7 additions and 2 deletions

View File

@ -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 @@ void set_spl_masks(void);
#ifdef DIAGNOSTIC
void dump_spl_masks(void);
#endif
#endif
#endif /* _KERNEL */
#endif /* _ARM32_MACHDEP_H_ */