[coreboot-gerrit] New patch to review for coreboot: 2be75de arch/x86/include/stdint.h: Don't let header wind up in ASL files

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Mon Jan 5 18:17:12 CET 2015


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

-gerrit

commit 2be75de76c1af560fdd24351eab71838d740d16b
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Tue Jan 6 04:15:47 2015 +1100

    arch/x86/include/stdint.h: Don't let header wind up in ASL files
    
    Push '#ifndef __ACPI__' guard into system header so that it does
    not wind up in ASL files DSDT builds.
    
    Change-Id: I59800b2f75196ff1c80a29f104ea9fa6706e51fb
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/arch/x86/include/stdint.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/arch/x86/include/stdint.h b/src/arch/x86/include/stdint.h
index c491f4b..eed22e0 100644
--- a/src/arch/x86/include/stdint.h
+++ b/src/arch/x86/include/stdint.h
@@ -1,6 +1,8 @@
 #ifndef I386_STDINT_H
 #define I386_STDINT_H
 
+#ifndef __ACPI__
+
 #if defined(__GNUC__)
 #define __HAVE_LONG_LONG__ 1
 #else
@@ -89,7 +91,8 @@ typedef int32_t s32;
 #define PRIu64 "llu"
 #endif
 
-
 #undef __HAVE_LONG_LONG__
 
+#endif /* __ACPI__ */
+
 #endif /* I386_STDINT_H */



More information about the coreboot-gerrit mailing list