diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-01-18 03:32:51 -0800 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-02-07 13:22:01 +0800 |
commit | 45ffa122f2533376d2e58817d69c9149d91afc0f (patch) | |
tree | 71e3d139cb07bc0bdf42d48232ce02bf013c2b68 | |
parent | fda4eb48e60b0ea5a575ed7bc0b853fc6db2da29 (diff) | |
download | u-boot-imx-45ffa122f2533376d2e58817d69c9149d91afc0f.zip u-boot-imx-45ffa122f2533376d2e58817d69c9149d91afc0f.tar.gz u-boot-imx-45ffa122f2533376d2e58817d69c9149d91afc0f.tar.bz2 |
x86: qemu: Add missing DECLARE_GLOBAL_DATA_PTR in e820.c
DECLARE_GLOBAL_DATA_PTR is missing which causes 64-bit build error.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | arch/x86/cpu/qemu/e820.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/cpu/qemu/e820.c b/arch/x86/cpu/qemu/e820.c index 63853e4..c1c9b89 100644 --- a/arch/x86/cpu/qemu/e820.c +++ b/arch/x86/cpu/qemu/e820.c @@ -7,6 +7,8 @@ #include <common.h> #include <asm/e820.h> +DECLARE_GLOBAL_DATA_PTR; + unsigned install_e820_map(unsigned max_entries, struct e820entry *entries) { entries[0].addr = 0; |