From: Arnd Bergmann Date: Tue, 14 Feb 2017 21:32:58 +0000 (+0100) Subject: arm64: include asm/assembler.h in entry-ftrace.S X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f705d954634d161db5923fc86cacf0f9e301f73a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm64: include asm/assembler.h in entry-ftrace.S In a randconfig build I ran into this build error: arch/arm64/kernel/entry-ftrace.S: Assembler messages: arch/arm64/kernel/entry-ftrace.S:101: Error: unknown mnemonic `ldr_l' -- `ldr_l x2,ftrace_trace_function' The macro is defined in asm/assembler.h, so we should include that file. Fixes: 829d2bd13392 ("arm64: entry-ftrace.S: avoid open-coded {adr,ldr}_l") Acked-by: Mark Rutland Signed-off-by: Arnd Bergmann Signed-off-by: Will Deacon --- diff --git a/arch/arm64/kernel/entry-ftrace.S b/arch/arm64/kernel/entry-ftrace.S index 8f1905b795f3..e1be42e11ff5 100644 --- a/arch/arm64/kernel/entry-ftrace.S +++ b/arch/arm64/kernel/entry-ftrace.S @@ -10,6 +10,7 @@ */ #include +#include #include #include