summaryrefslogtreecommitdiff
path: root/purgatory/string.c
diff options
context:
space:
mode:
authorLiu Hua <sdu.liu@huawei.com>2014-06-05 19:20:08 +0800
committerSimon Horman <horms@verge.net.au>2014-06-06 16:01:37 +0900
commit9bc435d384b46bd4f9ac0a94689b156ad46f6288 (patch)
tree965014a83da76e0f1ebf6073b04e34124432716a /purgatory/string.c
parent4362bfaca4d8d2a4380532880f0d08c2bf14184e (diff)
kexec: ARM: add LPAE support
For 32-bit ARM systems with CONFIG_ARM_LPAE=y, when kexec utility loads the crash kernel. 32-bit elf header is not enough if the physical address exceeds 4G. This patch checkes whether the largest physical address of the system exceeds 4G. If so, kexec creates 64-bit elf header.Otherwise it creates 32-bit elf header. Signed-off-by: Wei Jitao <weijitao@huawei.com> Signed-off-by: Liu Hua <sdu.liu@huawei.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory/string.c')
0 files changed, 0 insertions, 0 deletions