summaryrefslogtreecommitdiff
path: root/arch/x86/lib/cmd_boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/cmd_boot.c')
-rw-r--r--arch/x86/lib/cmd_boot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/lib/cmd_boot.c b/arch/x86/lib/cmd_boot.c
index a81a9a38a62..315be5a60df 100644
--- a/arch/x86/lib/cmd_boot.c
+++ b/arch/x86/lib/cmd_boot.c
@@ -36,6 +36,8 @@
#include <malloc.h>
#include <asm/u-boot-x86.h>
+DECLARE_GLOBAL_DATA_PTR;
+
unsigned long do_go_exec(ulong (*entry)(int, char * const []),
int argc, char * const argv[])
{