/[linux-patches]/genpatches-2.6/tags/2.6.14-6/1003_2_fix-alpha-breakage.patch
Gentoo

Contents of /genpatches-2.6/tags/2.6.14-6/1003_2_fix-alpha-breakage.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 233 - (show annotations) (download)
Thu Dec 15 16:43:31 2005 UTC (12 years, 10 months ago) by dsd
File size: 774 byte(s)
2.6.14-6 release
1 From nobody Mon Sep 17 00:00:00 2001
2 Subject: [PATCH] fix alpha breakage
3 From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
4 Date: 1130634943 -0700
5
6 barrier.h uses barrier() in non-SMP case. And doesn't include compiler.h.
7
8 Cc: Al Viro <viro@ftp.linux.org.uk>
9 Signed-off-by: Andrew Morton <akpm@osdl.org>
10 Signed-off-by: Linus Torvalds <torvalds@osdl.org>
11 Signed-off-by: Chris Wright <chrisw@osdl.org>
12 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 ---
14 include/asm-alpha/barrier.h | 2 ++
15 1 file changed, 2 insertions(+)
16
17 --- linux-2.6.14.1.orig/include/asm-alpha/barrier.h
18 +++ linux-2.6.14.1/include/asm-alpha/barrier.h
19 @@ -1,6 +1,8 @@
20 #ifndef __BARRIER_H
21 #define __BARRIER_H
22
23 +#include <asm/compiler.h>
24 +
25 #define mb() \
26 __asm__ __volatile__("mb": : :"memory")
27

  ViewVC Help
Powered by ViewVC 1.1.20