From 2a58fca9a7b4a3953c3e983ef80e36df85293a7c Mon Sep 17 00:00:00 2001 From: Will Deacon Date: Tue, 27 Feb 2018 10:50:20 +0000 Subject: [PATCH] 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 --- arch/arm64/include/asm/cmpxchg.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.11.0