arm64: include asm/assembler.h in entry-ftrace.S
authorArnd Bergmann <arnd@arndb.de>
Tue, 14 Feb 2017 21:32:58 +0000 (22:32 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 15 Feb 2017 11:34:25 +0000 (11:34 +0000)
commitf705d954634d161db5923fc86cacf0f9e301f73a
treef191544ac1d482f3411b28289115512fb4a2a8f1
parent12f043ff2b28fa64c9123b454cbe30a8a9e1967e
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>
arch/arm64/kernel/entry-ftrace.S