From: Bin Meng Date: Wed, 18 Jan 2017 03:32:51 -0800 Subject: [U-Boot] [PATCH 01/14] x86: qemu: Add missing DECLARE_GLOBAL_DATA_PTR in e820.c In-Reply-To: <1484739184-24211-1-git-send-email-bmeng.cn@gmail.com> References: <1484739184-24211-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1484739184-24211-2-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de DECLARE_GLOBAL_DATA_PTR is missing which causes 64-bit build error. Signed-off-by: Bin Meng --- arch/x86/cpu/qemu/e820.c | 2 ++ 1 file changed, 2 insertions(+) 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 #include +DECLARE_GLOBAL_DATA_PTR; + unsigned install_e820_map(unsigned max_entries, struct e820entry *entries) { entries[0].addr = 0; -- 2.9.2