summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-05 22:03:17 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-08 23:57:13 +0900
commit514fffdc6a8415271e1196cb363566c4630a5394 (patch)
treecb199e2f35ea3ad9ffa9ae6f03da27717ebd86e3 /i386
parenta662fd0fb171133e8983ee1520a3160b86062167 (diff)
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.
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/ipl.h4
1 files changed, 4 insertions, 0 deletions
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_ */