From 8a624f145c0d40903cb73090f51797e480bd1295 Mon Sep 17 00:00:00 2001 From: Will Deacon Date: Mon, 19 Feb 2018 13:08:56 +0000 Subject: [PATCH] arm64: lse: Include compiler_types.h and export.h for out-of-line LL/SC When the LL/SC atomics are moved out-of-line, they are annotated as notrace and exported to modules. Ensure we pull in the relevant include files so that these macros are defined when we need them. Acked-by: Mark Rutland Signed-off-by: Will Deacon --- arch/arm64/include/asm/lse.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/include/asm/lse.h b/arch/arm64/include/asm/lse.h index eec95768eaad..8262325e2fc6 100644 --- a/arch/arm64/include/asm/lse.h +++ b/arch/arm64/include/asm/lse.h @@ -4,8 +4,11 @@ #if defined(CONFIG_AS_LSE) && defined(CONFIG_ARM64_LSE_ATOMICS) +#include +#include #include #include +#include #ifdef __ASSEMBLER__ -- 2.11.0