summaryrefslogtreecommitdiff
path: root/src/include/cpu
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2014-01-27 15:07:26 -0600
committerAaron Durbin <adurbin@google.com>2014-01-28 05:55:20 +0100
commita86e81d472fd80dd5f33d36a02d41c14cb7eb1bd (patch)
treecea6580cc0605e4720724ad6903ae142a7727320 /src/include/cpu
parente6606518243d9beda31693d40493b5f7a1a3e2e0 (diff)
downloadcoreboot-a86e81d472fd80dd5f33d36a02d41c14cb7eb1bd.tar.xz
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@chromium.org> Reviewed-on: http://review.coreboot.org/4843 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/include/cpu')
-rw-r--r--src/include/cpu/x86/tsc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/cpu/x86/tsc.h b/src/include/cpu/x86/tsc.h
index 66451ad711..7323599cce 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