summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/global_data.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-08-02 16:59:37 -0600
committerTom Rini <trini@konsulko.com>2020-08-18 17:36:52 -0400
commita186579d2697e2205ac52d9795ee39a6617e6426 (patch)
tree7575868487d0a463f81eec230b161441d1df1ccf /arch/x86/include/asm/global_data.h
parent0b3b102f648aa82e5e44f38c300e8e94098b15dc (diff)
downloadu-boot-WIP/2020-08-17-reduce-common.tar.gz
common: Drop linux/types.h from common headerWIP/2020-08-17-reduce-common
Move this out of the common header and include it only where needed. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/global_data.h')
-rw-r--r--arch/x86/include/asm/global_data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/global_data.h b/arch/x86/include/asm/global_data.h
index 7fcd21ee2d..8987df975c 100644
--- a/arch/x86/include/asm/global_data.h
+++ b/arch/x86/include/asm/global_data.h
@@ -9,9 +9,11 @@
#ifndef __ASSEMBLY__
+#include <compiler.h>
#include <stdbool.h>
#include <asm/processor.h>
#include <asm/mrccache.h>
+#include <linux/types.h>
enum pei_boot_mode_t {
PEI_BOOT_NONE = 0,