From: Will Deacon Date: Mon, 19 Feb 2018 13:08:56 +0000 (+0000) Subject: arm64: lse: Include compiler_types.h and export.h for out-of-line LL/SC X-Git-Tag: v4.17-rc1~130^2~6 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8a624f145c0d40903cb73090f51797e480bd1295;p=linux.git 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 --- 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__