Magellan Linux

Contents of /trunk/kernel26-magellan/patches-2.6.16-r10/0121-2.6.16.12-cache_op.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 70 - (show annotations) (download)
Thu May 11 19:09:22 2006 UTC (18 years ago) by niro
File size: 853 byte(s)
import

1 From: Ralf Baechle <ralf@linux-mips.org>
2 Date: Wed, 26 Apr 2006 23:00:01 +0000 (+0100)
3 Subject: [PATCH] MIPS: Use "R" constraint for cache_op.
4 X-Git-Url: http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.16.y.git;a=commitdiff;h=97644aa31cb72ce0e9ebfae27042bc56db672dee
5
6 [PATCH] MIPS: Use "R" constraint for cache_op.
7
8 Gcc might emit an absolute address for the the "m" constraint which
9 gas unfortunately does not permit.
10
11 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
12 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 ---
14
15 --- a/include/asm-mips/r4kcache.h
16 +++ b/include/asm-mips/r4kcache.h
17 @@ -37,7 +37,7 @@
18 " cache %0, %1 \n" \
19 " .set pop \n" \
20 : \
21 - : "i" (op), "m" (*(unsigned char *)(addr)))
22 + : "i" (op), "R" (*(unsigned char *)(addr)))
23
24 static inline void flush_icache_line_indexed(unsigned long addr)
25 {