This code is used even if KERNEL is not defined. Remove the ifdef. * i386/i386/ipl.h [KERNEL]: Remove ifdef. [_I386_IPL_H_]: Add ifndef.
--- i386/i386/ipl.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/i386/i386/ipl.h b/i386/i386/ipl.h index 8f729e1..7503ac3 100644 --- a/i386/i386/ipl.h +++ b/i386/i386/ipl.h @@ -49,6 +49,8 @@ OTHER TORTIOUS ACTION, ARISING OUR OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef _I386_IPL_H_ +#define _I386_IPL_H_ #define SPL0 0 #define SPL1 1 @@ -67,7 +69,6 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #define NSPL (SPL7 + 1) -#ifdef KERNEL #ifndef __ASSEMBLER__ #include <machine/machspl.h> extern void (*ivect[])(); @@ -75,4 +76,5 @@ extern int iunit[]; extern int intpri[]; extern spl_t curr_ipl; #endif /* __ASSEMBLER__ */ -#endif /* KERNEL */ + +#endif /* _I386_IPL_H_ */ -- 1.8.1.4