diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-03-27 13:18:01 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-03-27 15:21:27 +0300 |
commit | a9fea8b388ed5838fe0744970e67f7019d420824 (patch) | |
tree | 69c95a69f36ad31bc884e6f86a131ee47158fac7 /arch/arm/kvm | |
parent | 12eb3e833961bfe532b763a6e4e817ec87f48bc7 (diff) | |
download | linux-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.S | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/kvm/init.S b/arch/arm/kvm/init.S index 11fb1d56f449..3988e72d16ff 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 |