]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] fix alpha breakage
authorIvan Kokshaysky <ink@jurassic.park.msu.ru>
Sun, 30 Oct 2005 01:15:43 +0000 (18:15 -0700)
committerLinus 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

index 229c83fe77cb29d97c9136f1728316b1ca48cec6..681ff581afa574a404e19038abbda9d1f194489c 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef __BARRIER_H
 #define __BARRIER_H
 
+#include <asm/compiler.h>
+
 #define mb() \
 __asm__ __volatile__("mb": : :"memory")