From: Ivan Kokshaysky Date: Wed, 9 Nov 2005 18:22:16 +0000 (-0800) Subject: [PATCH] fix alpha breakage X-Git-Tag: v2.6.14.2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=24547e2e65e534598580945b791f3ce7777f829b;p=karo-tx-linux.git [PATCH] fix alpha breakage barrier.h uses barrier() in non-SMP case. And doesn't include compiler.h. Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Chris Wright Signed-off-by: Greg Kroah-Hartman --- 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 @@ #ifndef __BARRIER_H #define __BARRIER_H +#include + #define mb() \ __asm__ __volatile__("mb": : :"memory")