[patch 11/11] fix alpha breakage

From: Greg KH
Date: Fri Dec 23 2005 - 17:28:27 EST


From: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx>

barrier.h uses barrier() in non-SMP case. And doesn't include compiler.h.

Cc: Al Viro <viro@xxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
Signed-off-by: Linus Torvalds <torvalds@xxxxxxxx>
Signed-off-by: Chris Wright <chrisw@xxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
---
include/asm-alpha/barrier.h | 2 ++
1 file changed, 2 insertions(+)

--- linux-2.6.14.1.orig/include/asm-alpha/barrier.h
+++ linux-2.6.14.1/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")


--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/