projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b8f573
)
[PATCH] fix alpha breakage
author
Ivan Kokshaysky
<ink@jurassic.park.msu.ru>
Sun, 30 Oct 2005 01:15:43 +0000
(18:15 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sun, 30 Oct 2005 04:40:35 +0000
(21:40 -0700)
barrier.h uses barrier() in non-SMP case. And doesn't include compiler.h.
Cc: Al Viro <viro@ftp.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-alpha/barrier.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-alpha/barrier.h
b/include/asm-alpha/barrier.h
index 229c83fe77cb29d97c9136f1728316b1ca48cec6..681ff581afa574a404e19038abbda9d1f194489c 100644
(file)
--- a/
include/asm-alpha/barrier.h
+++ b/
include/asm-alpha/barrier.h
@@
-1,6
+1,8
@@
#ifndef __BARRIER_H
#define __BARRIER_H
+#include <asm/compiler.h>
+
#define mb() \
__asm__ __volatile__("mb": : :"memory")