[PATCH] fix alpha breakage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Al Viro <[email protected]>
----
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux