summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/image.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-04-18 17:09:45 +0200
committerWill Deacon <will.deacon@arm.com>2016-04-26 12:23:21 +0100
commitb03cc885328e3c0de61843737d42eb0a0f112aab (patch)
tree528c3ec079cb28a8f41fe8501546faf3f49b1057 /arch/arm64/kernel/image.h
parent30b5ba5cf333cc650e474eaf2cc1ae91bc7cf89f (diff)
downloadlinux-b03cc885328e3c0de61843737d42eb0a0f112aab.tar.bz2
arm64: kernel: replace early 64-bit literal loads with move-immediates
When building a relocatable kernel, we currently rely on the fact that early 64-bit literal loads need to be deferred to after the relocation has been performed only if they involve symbol references, and not if they involve assemble time constants. While this is not an unreasonable assumption to make, it is better to switch to movk/movz sequences, since these are guaranteed to be resolved at link time, simply because there are no dynamic relocation types to describe them. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/image.h')
0 files changed, 0 insertions, 0 deletions