summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-03-25 12:44:29 +0100
committerWill Deacon <will.deacon@arm.com>2015-03-25 12:44:29 +0100
commit24deabf1b29a72ec7cb8e4f5e8151d60f0066467 (patch)
tree45c23e4b026158d9d17a63b7f5fa4ca35b943a3a
parentarm64: head.S: ensure idmap_t0sz is visible (diff)
parentARM: kvm: assert on HYP section boundaries not actual code size (diff)
downloadlinux-24deabf1b29a72ec7cb8e4f5e8151d60f0066467.tar.xz
linux-24deabf1b29a72ec7cb8e4f5e8151d60f0066467.zip
Merge branch 'aarch64/kvm-bounce-page' into aarch64/for-next/core
linux-next testing found a bug with the PROVIDE keyword and older versions of binutils, so Ard has fixed that here.
-rw-r--r--arch/arm/kernel/vmlinux.lds.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S
index 2d760df0d57d..808398ec024e 100644
--- a/arch/arm/kernel/vmlinux.lds.S
+++ b/arch/arm/kernel/vmlinux.lds.S
@@ -381,5 +381,5 @@ ASSERT((__arch_info_end - __arch_info_begin), "no machine record defined")
* and should not cross a page boundary.
* The above comment applies as well.
*/
-ASSERT((__hyp_idmap_text_start & ~PAGE_MASK) + __hyp_idmap_size <= PAGE_SIZE,
+ASSERT(__hyp_idmap_text_end - (__hyp_idmap_text_start & PAGE_MASK) <= PAGE_SIZE,
"HYP init code too big or misaligned")