projects
/
platform
/
kernel
/
linux-3.10.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
|
history
diff --git
a/include/asm-alpha/barrier.h
b/include/asm-alpha/barrier.h
index
229c83f
..
681ff58
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")