From 8b097916faa20f04ff4b0147ebcf0331204ec96b Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 31 Jul 2015 09:31:31 -0600 Subject: x86: Add some missing global_data declarations in files that use gd Some files use global_data but don't declare it. Fix this. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- arch/x86/lib/bootm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/x86/lib/bootm.c') diff --git a/arch/x86/lib/bootm.c b/arch/x86/lib/bootm.c index 86030cf52aa..445ee6e4554 100644 --- a/arch/x86/lib/bootm.c +++ b/arch/x86/lib/bootm.c @@ -22,6 +22,8 @@ #include #endif +DECLARE_GLOBAL_DATA_PTR; + #define COMMAND_LINE_OFFSET 0x9000 /* -- cgit v1.2.3