diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-03-23 10:52:57 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-03-23 11:16:50 +0000 |
commit | e60a1fec44a2fe2c85ac406a5c1161ca2957a4fa (patch) | |
tree | 9e26582a3000816875b3453c930f3895795065c0 /arch/arm/mach-zynq | |
parent | 06f75a1f6200042aa36ad40afb44dd72107b25d6 (diff) |
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/arm/mach-zynq')
0 files changed, 0 insertions, 0 deletions