[coreboot-gerrit] Patch set updated for coreboot: d272045 arch/x86/*/ioapic.h: Missing stdint.h header inclusion

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Sat Jul 26 22:20:51 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 d27204525027f8833810b7faa9c26c9c6bf9364c
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 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/arch/x86/include/arch/ioapic.h b/src/arch/x86/include/arch/ioapic.h
index 7ff47bb..8f84c84 100644
--- a/src/arch/x86/include/arch/ioapic.h
+++ b/src/arch/x86/include/arch/ioapic.h
@@ -24,6 +24,7 @@
 #define IO_APIC_INTERRUPTS 24
 
 #ifndef __ACPI__
+#include <stdint.h>
 #define ALL		(0xff << 24)
 #define NONE		(0)
 #define DISABLED	(1 << 16)
@@ -44,6 +45,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