summaryrefslogtreecommitdiff
path: root/arch/arm64/mm
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-05-06 20:51:30 +0100
committerWill Deacon <will@kernel.org>2020-05-07 17:53:20 +0100
commit714a8d02ca4da1479bf0b778fc1951dc88515c3d (patch)
tree052a8bb57dca406062ef023a38d2c3d1fc69c743 /arch/arm64/mm
parent92e2294d870bc9e77592c2454f565c3bd6bb79ad (diff)
downloadlwn-714a8d02ca4da1479bf0b778fc1951dc88515c3d.tar.gz
lwn-714a8d02ca4da1479bf0b778fc1951dc88515c3d.zip
arm64: asm: Override SYM_FUNC_START when building the kernel with BTI
When the kernel is built for BTI override SYM_FUNC_START and related macros to add a BTI landing pad to the start of all global functions, ensuring that they are BTI safe. The ; at the end of the BTI_x macros is for the benefit of the macro-generated functions in xen-hypercall.S. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Link: https://lore.kernel.org/r/20200506195138.22086-4-broonie@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/mm')
0 files changed, 0 insertions, 0 deletions