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.19~1308^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a58fca9a7b4a3953c3e983ef80e36df85293a7c;p=platform%2Fkernel%2Flinux-rpi.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 19d4a18..4f5fd2a 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