[coreboot-gerrit] New patch to review for coreboot: 3080e15 arch/x86/*/ioapic.h: Missing stdint.h header inclusion

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Fri Jul 11 08:48:14 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/6263

-gerrit

commit 3080e152dea14c157f114798cce7a9af2b914da9
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Fri Jul 11 16:45:56 2014 +1000

    arch/x86/*/ioapic.h: Missing stdint.h header inclusion
    
    Currently the inclusion happens due to hoops and loops though other
    headers.
    
    Change-Id: I526e28983e6affa0b524253e22beca598bef5802
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/arch/x86/include/arch/ioapic.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/arch/x86/include/arch/ioapic.h b/src/arch/x86/include/arch/ioapic.h
index 7ff47bb..af5772e 100644
--- a/src/arch/x86/include/arch/ioapic.h
+++ b/src/arch/x86/include/arch/ioapic.h
@@ -20,6 +20,8 @@
 #ifndef __I386_ARCH_IOAPIC_H
 #define __I386_ARCH_IOAPIC_H
 
+#include <arch/stdint.h>
+
 #define IO_APIC_ADDR	0xfec00000
 #define IO_APIC_INTERRUPTS 24
 
@@ -44,6 +46,6 @@ void io_apic_write(u32 ioapic_base, u32 reg, u32 value);
 void set_ioapic_id(u32 ioapic_base, u8 ioapic_id);
 void setup_ioapic(u32 ioapic_base, u8 ioapic_id);
 void clear_ioapic(u32 ioapic_base);
-#endif
+#endif /* !__ACPI__ */
 
-#endif
+#endif /* __I386_ARCH_IOAPIC_H */



More information about the coreboot-gerrit mailing list