ARM: kvm: round HYP section to page size instead of log2 upper bound
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 27 Mar 2015 10:18:01 +0000 (10:18 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 27 Mar 2015 12:21:27 +0000 (12:21 +0000)
commita9fea8b388ed5838fe0744970e67f7019d420824
tree69c95a69f36ad31bc884e6f86a131ee47158fac7
parent12eb3e833961bfe532b763a6e4e817ec87f48bc7
ARM: kvm: round HYP section to page size instead of log2 upper bound

Older binutils do not support expressions involving the values of
external symbols so just round up the HYP region to the page size.

Tested-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
[will: when will this ever end?!]
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/vmlinux.lds.S
arch/arm/kvm/init.S