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>
This commit is contained in:
Aaron Durbin 2014-01-27 15:07:26 -06:00 committed by Aaron Durbin
parent e660651824
commit a86e81d472
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#ifndef CPU_X86_TSC_H #ifndef CPU_X86_TSC_H
#define CPU_X86_TSC_H #define CPU_X86_TSC_H
#include <stdint.h>
#if CONFIG_TSC_SYNC_MFENCE #if CONFIG_TSC_SYNC_MFENCE
#define TSC_SYNC "mfence\n" #define TSC_SYNC "mfence\n"
#elif CONFIG_TSC_SYNC_LFENCE #elif CONFIG_TSC_SYNC_LFENCE