diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-02-15 00:32:58 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-02-15 14:34:25 +0300 |
commit | f705d954634d161db5923fc86cacf0f9e301f73a (patch) | |
tree | f191544ac1d482f3411b28289115512fb4a2a8f1 /arch | |
parent | 12f043ff2b28fa64c9123b454cbe30a8a9e1967e (diff) | |
download | linux-f705d954634d161db5923fc86cacf0f9e301f73a.tar.xz |
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 <mark.rutland@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/kernel/entry-ftrace.S | 1 |
1 files changed, 1 insertions, 0 deletions
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 <linux/linkage.h> +#include <asm/assembler.h> #include <asm/ftrace.h> #include <asm/insn.h> |