]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Ensure that the 'bti' macro is defined where linkage.h is included
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 17 Dec 2021 16:20:45 +0000 (16:20 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 17 Dec 2021 16:20:45 +0000 (16:20 +0000)
commit54fc3a8ac322bb1d43efab9e76c06f3bf0ad5e0e
tree8477e93101bb165ccb46451c118cd591eabfd07d
parentcacf7f19b1708a5c97cfdcbda7627c27f5a9c642
arm64: Ensure that the 'bti' macro is defined where linkage.h is included

Not all .S files include asm/assembler.h, however the SYM_FUNC_*
definitions invoke the 'bti' macro. Include asm/assembler.h in
asm/linkage.h.

Fixes: f68fa9a7de96 ("arm64: Add macro version of the BTI instruction")
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/linkage.h