/[linux-patches]/genpatches-2.6/trunk/2.6.14/1305_alpha-barrier-compile.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.14/1305_alpha-barrier-compile.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 202 - (show annotations) (download) (as text)
Thu Nov 3 17:31:50 2005 UTC (14 years, 10 months ago) by dsd
File MIME type: text/x-diff
File size: 752 byte(s)
Fix compile on alpha
1 From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
2 Date: Sun, 30 Oct 2005 01:15:43 +0000 (-0700)
3 Subject: [PATCH] fix alpha breakage
4 X-Git-Url: http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=63f324cf0792ed69089b79d6921ba3aaea97af50
5
6 [PATCH] fix alpha breakage
7
8 barrier.h uses barrier() in non-SMP case. And doesn't include compiler.h.
9
10 Cc: Al Viro <viro@ftp.linux.org.uk>
11 Signed-off-by: Andrew Morton <akpm@osdl.org>
12 Signed-off-by: Linus Torvalds <torvalds@osdl.org>
13 ---
14
15 --- a/include/asm-alpha/barrier.h
16 +++ b/include/asm-alpha/barrier.h
17 @@ -1,6 +1,8 @@
18 #ifndef __BARRIER_H
19 #define __BARRIER_H
20
21 +#include <asm/compiler.h>
22 +
23 #define mb() \
24 __asm__ __volatile__("mb": : :"memory")
25

  ViewVC Help
Powered by ViewVC 1.1.20