summaryrefslogtreecommitdiff
path: root/arch/arm/kvm
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-03-27 10:18:01 (GMT)
committerWill Deacon <will.deacon@arm.com>2015-03-27 12:21:27 (GMT)
commita9fea8b388ed5838fe0744970e67f7019d420824 (patch)
tree69c95a69f36ad31bc884e6f86a131ee47158fac7 /arch/arm/kvm
parent12eb3e833961bfe532b763a6e4e817ec87f48bc7 (diff)
downloadlinux-a9fea8b388ed5838fe0744970e67f7019d420824.tar.xz
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>
Diffstat (limited to 'arch/arm/kvm')
-rw-r--r--arch/arm/kvm/init.S3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/kvm/init.S b/arch/arm/kvm/init.S
index 11fb1d5..3988e72 100644
--- a/arch/arm/kvm/init.S
+++ b/arch/arm/kvm/init.S
@@ -157,6 +157,3 @@ target: @ We're now in the trampoline code, switch page tables
__kvm_hyp_init_end:
.popsection
-
- .global __hyp_idmap_size
- .set __hyp_idmap_size, __kvm_hyp_init_end - __kvm_hyp_init