/[linux-patches]/genpatches-2.6/trunk/2.6.14/1103_2_fix-alpha-breakage.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.14/1103_2_fix-alpha-breakage.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 208 - (hide annotations) (download) (as text)
Fri Nov 11 11:24:33 2005 UTC (15 years ago) by dsd
Original Path: genpatches-2.6/trunk/2.6.14/1003_2_fix-alpha-breakage.patch
File MIME type: text/x-diff
File size: 774 byte(s)
Linux 2.6.14.2
1 dsd 208 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