lkml.org 
[lkml]   [2005]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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    [W:0.038 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site