lkml.org 
[lkml]   [2005]   [Oct]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 26 Oct 2005 11:06:23 +0100
FromAl Viro <>
Subject[PATCH] fix alpha breakage
	barrier.h uses barrier() in non-SMP case.  And doesn't include
compiler.h.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
----
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-10-26 12:09    [from the cache]
©2003-2008