diff options
author | Ivan Kokshaysky <ink@jurassic.park.msu.ru> | 2005-10-29 21:15:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 00:40:35 -0400 |
commit | 63f324cf0792ed69089b79d6921ba3aaea97af50 (patch) | |
tree | 007ec8ea5c2344ced61de396c2484a5a49cc9aac /include/asm-alpha/barrier.h | |
parent | 4b8f573b5db02a3017afbba49026a6aef480174f (diff) |
[PATCH] fix alpha breakage
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>
Diffstat (limited to 'include/asm-alpha/barrier.h')
-rw-r--r-- | include/asm-alpha/barrier.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-alpha/barrier.h b/include/asm-alpha/barrier.h index 229c83fe77cb..681ff581afa5 100644 --- a/include/asm-alpha/barrier.h +++ b/include/asm-alpha/barrier.h | |||
@@ -1,6 +1,8 @@ | |||
1 | #ifndef __BARRIER_H | 1 | #ifndef __BARRIER_H |
2 | #define __BARRIER_H | 2 | #define __BARRIER_H |
3 | 3 | ||
4 | #include <asm/compiler.h> | ||
5 | |||
4 | #define mb() \ | 6 | #define mb() \ |
5 | __asm__ __volatile__("mb": : :"memory") | 7 | __asm__ __volatile__("mb": : :"memory") |
6 | 8 | ||