]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Alpha compile fix fwd from Norbert Tretkowski
authorChris Wright <chrisw@osdl.org>
Wed, 9 Nov 2005 16:34:08 +0000 (08:34 -0800)
committerChris Wright <chrisw@osdl.org>
Wed, 9 Nov 2005 16:34:08 +0000 (08:34 -0800)
queue/fix-alpha-breakage.patch [new file with mode: 0644]
queue/series

diff --git a/queue/fix-alpha-breakage.patch b/queue/fix-alpha-breakage.patch
new file mode 100644 (file)
index 0000000..2c92f91
--- /dev/null
@@ -0,0 +1,29 @@
+From nobody Mon Sep 17 00:00:00 2001
+Subject: [PATCH] fix alpha breakage
+From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
+Date: 1130634943 -0700
+
+barrier.h uses barrier() in non-SMP case.  And doesn't include compiler.h.
+
+Cc: Al Viro <viro@ftp.linux.org.uk>
+Signed-off-by: Andrew Morton <akpm@osdl.org>
+Signed-off-by: Linus Torvalds <torvalds@osdl.org>
+Signed-off-by: Chris Wright <chrisw@osdl.org>
+---
+
+ include/asm-alpha/barrier.h |    2 ++
+ 1 files changed, 2 insertions(+)
+
+Index: linux-2.6.14.y/include/asm-alpha/barrier.h
+===================================================================
+--- linux-2.6.14.y.orig/include/asm-alpha/barrier.h
++++ linux-2.6.14.y/include/asm-alpha/barrier.h
+@@ -1,6 +1,8 @@
+ #ifndef __BARRIER_H
+ #define __BARRIER_H
++#include <asm/compiler.h>
++
+ #define mb() \
+ __asm__ __volatile__("mb": : :"memory")
index 5af260a5755d97b5207cf998c3bff16450536751..7f17388a4191247f645110d221e3e341d3039bfd 100644 (file)
@@ -8,3 +8,4 @@ fix-zero-size-datagram-reception.patch
 fix-signal-live-leak-in-copy_process.patch
 fix-de_thread-vs-send_group_sendqueue-race.patch
 ipvs-fix-connection-leak.patch
+fix-alpha-breakage.patch