summaryrefslogtreecommitdiffstats
path: root/arch/arm64/mm/proc.S
diff options
context:
space:
mode:
authorArd Biesheuvel2015-03-23 11:52:57 +0100
committerWill Deacon2015-03-23 12:16:50 +0100
commite60a1fec44a2fe2c85ac406a5c1161ca2957a4fa (patch)
tree9e26582a3000816875b3453c930f3895795065c0 /arch/arm64/mm/proc.S
parentARM, arm64: kvm: get rid of the bounce page (diff)
downloadkernel-qcow2-linux-e60a1fec44a2fe2c85ac406a5c1161ca2957a4fa.tar.gz
kernel-qcow2-linux-e60a1fec44a2fe2c85ac406a5c1161ca2957a4fa.tar.xz
kernel-qcow2-linux-e60a1fec44a2fe2c85ac406a5c1161ca2957a4fa.zip
ARM: kvm: implement replacement for ld's LOG2CEIL()
Commit 06f75a1f6200 ("ARM, arm64: kvm: get rid of the bounce page") uses ld's builtin function LOG2CEIL() to align the KVM init code to a log2 upper bound of its size. However, this function turns out to be a fairly recent addition to binutils, which breaks the build for older toolchains. So instead, implement a replacement LOG2_ROUNDUP() using the C preprocessor. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/mm/proc.S')
0 files changed, 0 insertions, 0 deletions