Skip objtool validation of ftrace entry because it doesn't follow standard calling ABI. Signed-off-by: Chen Zhongjin <chenzhongjin@xxxxxxxxxx> --- arch/arm64/kernel/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/kernel/Makefile b/arch/arm64/kernel/Makefile index eee5eb7d782b..51fd3d45986f 100644 --- a/arch/arm64/kernel/Makefile +++ b/arch/arm64/kernel/Makefile @@ -47,6 +47,10 @@ obj-$(CONFIG_KUSER_HELPERS) += kuser32.o OBJECT_FILES_NON_STANDARD_kuser32.o := y +ifdef CONFIG_FRAME_POINTER +OBJECT_FILES_NON_STANDARD_entry-ftrace.o := y +endif + obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o entry-ftrace.o obj-$(CONFIG_MODULES) += module.o obj-$(CONFIG_ARM64_MODULE_PLTS) += module-plts.o -- 2.17.1