projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9406e5
)
arm64: cmpxchg: Include linux/compiler.h in asm/cmpxchg.h
author
Will Deacon
<will.deacon@arm.com>
Tue, 27 Feb 2018 10:50:20 +0000
(10:50 +0000)
committer
Will Deacon
<will.deacon@arm.com>
Tue, 27 Mar 2018 12:15:49 +0000
(13:15 +0100)
We need linux/compiler.h for unreachable(), so #include it here.
Reported-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cmpxchg.h
patch
|
blob
|
history
diff --git
a/arch/arm64/include/asm/cmpxchg.h
b/arch/arm64/include/asm/cmpxchg.h
index
19d4a18
..
4f5fd2a
100644
(file)
--- a/
arch/arm64/include/asm/cmpxchg.h
+++ b/
arch/arm64/include/asm/cmpxchg.h
@@
-19,6
+19,7
@@
#define __ASM_CMPXCHG_H
#include <linux/build_bug.h>
+#include <linux/compiler.h>
#include <asm/atomic.h>
#include <asm/barrier.h>