[PATCH] arm64: efi: make sure vmlinux load address aligned on 2MBytes

Timur Tabi
2015-10-28T02:10:04Z

Ard Biesheuvel wrote:
> + *image_addr = *reserve_addr = round_up(dram_base, SZ_2M) +
> + TEXT_OFFSET);

Shouldn't this be:

*image_addr = *reserve_addr = round_up(dram_base + TEXT_OFFSET, SZ_2M);

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, hosted by The Linux Foundation.