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 16:21:51 +0400
FromIvan Kokshaysky <>
SubjectRe: [PATCH] fix alpha breakage
On Wed, Oct 26, 2005 at 11:06:23AM +0100, Al Viro wrote:
> 	barrier.h uses barrier() in non-SMP case.  And doesn't include
> compiler.h.

Thanks, but better use <asm-alpha/compiler.h> because of potential
problems with the "inline" redefinition.

Ivan.

--- 2.6.14-rc5-git6/include/asm-alpha/barrier.h	Wed Oct 26 14:43:16 2005
+++ linux/include/asm-alpha/barrier.h	Wed Oct 26 15:03:47 2005
@@ -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@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:25    [W:0.255 / U:0.060 seconds]
©2003-2008 Jasper Spaans