From: Will Deacon Date: Tue, 27 Feb 2018 10:50:20 +0000 (+0000) Subject: arm64: cmpxchg: Include linux/compiler.h in asm/cmpxchg.h X-Git-Tag: v4.17-rc1~130^2~3 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2a58fca9a7b4a3953c3e983ef80e36df85293a7c;p=linux.git arm64: cmpxchg: Include linux/compiler.h in asm/cmpxchg.h We need linux/compiler.h for unreachable(), so #include it here. Reported-by: Mark Rutland Signed-off-by: Will Deacon --- diff --git a/arch/arm64/include/asm/cmpxchg.h b/arch/arm64/include/asm/cmpxchg.h index 19d4a18c2ac8..4f5fd2a36e6e 100644 --- a/arch/arm64/include/asm/cmpxchg.h +++ b/arch/arm64/include/asm/cmpxchg.h @@ -19,6 +19,7 @@ #define __ASM_CMPXCHG_H #include +#include #include #include