[coreboot-gerrit] New patch to review for coreboot: caac298 arch/x86/include/arch/interrupt.h: Add header guards

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Tue Jul 29 14:29:40 CEST 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6400

-gerrit

commit caac298127d4f5a47c859f78e10d731e92bd134f
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Tue Jul 29 22:27:51 2014 +1000

    arch/x86/include/arch/interrupt.h: Add header guards
    
    Change-Id: I34c27bbce3ce958a33d547c727d9733d3b2d1670
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/arch/x86/include/arch/interrupt.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/arch/x86/include/arch/interrupt.h b/src/arch/x86/include/arch/interrupt.h
index 9753c50..e3322bb 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 */



More information about the coreboot-gerrit mailing list