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:
parent
370adeedb4
commit
51ca10f548
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue