[coreboot-gerrit] New patch to review for coreboot: 11e496b x86: include header to define types in use

Aaron Durbin (adurbin@google.com) gerrit at coreboot.org
Tue Jan 28 03:54:41 CET 2014


Aaron Durbin (adurbin at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4843

-gerrit

commit 11e496b6c605e8b292f1b8179500551ba2db84a2
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Mon Jan 27 15:07:26 2014 -0600

    x86: include header to define types in use
    
    The tsc header is using u32 w/o including the file
    with defines it.
    
    Change-Id: I9fcad882d25e93b4c0032b32abd2432b0169a068
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
---
 src/include/cpu/x86/tsc.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/include/cpu/x86/tsc.h b/src/include/cpu/x86/tsc.h
index 66451ad..7323599 100644
--- a/src/include/cpu/x86/tsc.h
+++ b/src/include/cpu/x86/tsc.h
@@ -1,6 +1,8 @@
 #ifndef CPU_X86_TSC_H
 #define CPU_X86_TSC_H
 
+#include <stdint.h>
+
 #if CONFIG_TSC_SYNC_MFENCE
 #define TSC_SYNC "mfence\n"
 #elif CONFIG_TSC_SYNC_LFENCE



More information about the coreboot-gerrit mailing list