[PATCH] fix alpha breakage
From: Al Viro
Date: Wed Oct 26 2005 - 05:06:42 EST
barrier.h uses barrier() in non-SMP case. And doesn't include
compiler.h.
Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
----
diff -urN RC14-rc5-git5-base/include/asm-alpha/barrier.h current/include/asm-alpha/barrier.h
--- RC14-rc5-git5-base/include/asm-alpha/barrier.h 2005-10-26 01:00:39.000000000 -0400
+++ current/include/asm-alpha/barrier.h 2005-10-26 03:38:24.000000000 -0400
@@ -1,6 +1,8 @@
#ifndef __BARRIER_H
#define __BARRIER_H
+#include <linux/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/