From 514fffdc6a8415271e1196cb363566c4630a5394 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Thu, 5 Dec 2013 22:03:17 +0100 Subject: i386/i386/ipl.h: remove ifdef and add ifndef This code is used even if KERNEL is not defined. Remove the ifdef. * i386/i386/ipl.h [_I386_IPL_H_]: Add ifndef. --- i386/i386/ipl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'i386') diff --git a/i386/i386/ipl.h b/i386/i386/ipl.h index 8f729e1..2da2e89 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 @@ -76,3 +78,5 @@ extern int intpri[]; extern spl_t curr_ipl; #endif /* __ASSEMBLER__ */ #endif /* KERNEL */ + +#endif /* _I386_IPL_H_ */ -- cgit v1.2.3