Module Name: src
Committed By: christos
Date: Mon Jan 25 21:54:14 UTC 2016
Modified Files:
src/sys/arch/arm/footbridge: footbridge_intr.h
Log Message:
protect locore.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arm/footbridge/footbridge_intr.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/footbridge/footbridge_intr.h
diff -u src/sys/arch/arm/footbridge/footbridge_intr.h:1.18 src/sys/arch/arm/footbridge/footbridge_intr.h:1.19
--- src/sys/arch/arm/footbridge/footbridge_intr.h:1.18 Mon Jan 25 11:41:06 2016
+++ src/sys/arch/arm/footbridge/footbridge_intr.h Mon Jan 25 16:54:14 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: footbridge_intr.h,v 1.18 2016/01/25 16:41:06 christos Exp $ */
+/* $NetBSD: footbridge_intr.h,v 1.19 2016/01/25 21:54:14 christos Exp $ */
/*
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -38,12 +38,14 @@
#ifndef _FOOTBRIDGE_INTR_H_
#define _FOOTBRIDGE_INTR_H_
+#ifndef _LOCORE
typedef uint8_t ipl_t;
typedef struct {
ipl_t _ipl;
} ipl_cookie_t;
#include <arm/mutex.h>
+#endif
#include <arm/cpu.h>
#include <arm/armreg.h>