X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=arch%2Fx86%2Fcpu%2Fqemu%2Fe820.c;h=0a690fde685800aef771ecbccddc66db16d238ff;hb=83d290c56fab2d38cd1ab4c4cc7099559c1d5046;hp=63853e4b22d6df58237ddf65449453c3e6e0c6fa;hpb=ec8fb48ce98987065493b27422200897cf0909f8;p=platform%2Fkernel%2Fu-boot.git diff --git a/arch/x86/cpu/qemu/e820.c b/arch/x86/cpu/qemu/e820.c index 63853e4..0a690fd 100644 --- a/arch/x86/cpu/qemu/e820.c +++ b/arch/x86/cpu/qemu/e820.c @@ -1,13 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2015 Miao Yan - * - * SPDX-License-Identifier: GPL-2.0+ */ #include #include -unsigned install_e820_map(unsigned max_entries, struct e820entry *entries) +DECLARE_GLOBAL_DATA_PTR; + +unsigned int install_e820_map(unsigned int max_entries, + struct e820_entry *entries) { entries[0].addr = 0; entries[0].size = ISA_START_ADDRESS;