summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-07-29 22:27:51 +1000
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-07-30 23:38:10 +0200
commit51ca10f54837c0e6f08561c6f85dd0d766622a82 (patch)
treeaeefe1f0312270799e3e672c4c33391fb2910439 /src
parent370adeedb455a0d3880637ddfc3b8afee6080b5c (diff)
arch/x86/include/arch/interrupt.h: Add header guards
Change-Id: I34c27bbce3ce958a33d547c727d9733d3b2d1670 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/6400 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Marc Jones <marc.jones@se-eng.com>
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/include/arch/interrupt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/x86/include/arch/interrupt.h b/src/arch/x86/include/arch/interrupt.h
index 9753c502ee..e3322bb23d 100644
--- a/src/arch/x86/include/arch/interrupt.h
+++ b/src/arch/x86/include/arch/interrupt.h
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef INTERRUPT_H
+#define INTERRUPT_H
+
#include "registers.h"
/* setup interrupt handlers for mainboard */
@@ -29,3 +32,5 @@ extern void mainboard_interrupt_handlers(int intXX, int (*intXX_func)(void));
#else
static inline void mainboard_interrupt_handlers(int intXX, int (*intXX_func)(void)) { }
#endif
+
+#endif /* INTERRUPT_H */