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>
This commit is contained in:
Edward O'Callaghan 2014-07-29 22:27:51 +10:00
parent 370adeedb4
commit 51ca10f548
1 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef INTERRUPT_H
#define INTERRUPT_H
#include "registers.h" #include "registers.h"
/* setup interrupt handlers for mainboard */ /* setup interrupt handlers for mainboard */
@ -29,3 +32,5 @@ extern void mainboard_interrupt_handlers(int intXX, int (*intXX_func)(void));
#else #else
static inline void mainboard_interrupt_handlers(int intXX, int (*intXX_func)(void)) { } static inline void mainboard_interrupt_handlers(int intXX, int (*intXX_func)(void)) { }
#endif #endif
#endif /* INTERRUPT_H */