aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-04-03 18:32:39 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-04-18 22:14:21 -0400
commit675055bfb5f99be56a20a6a214439adf23591786 (patch)
tree66b710f5f9eada27d296a49174b000a59c7c5090
parente4ac58afdfac792c0583af30dbd9eae53e24c78b (diff)
[MIPS] Use "R" constraint for cache_op.
Gcc might emit an absolute address for the the "m" constraint which gas unfortunately does not permit. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--include/asm-mips/r4kcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/r4kcache.h b/include/asm-mips/r4kcache.h
index 90c374700977..2f2eb95387f6 100644
--- a/include/asm-mips/r4kcache.h
+++ b/include/asm-mips/r4kcache.h
@@ -37,7 +37,7 @@
37 " cache %0, %1 \n" \ 37 " cache %0, %1 \n" \
38 " .set pop \n" \ 38 " .set pop \n" \
39 : \ 39 : \
40 : "i" (op), "m" (*(unsigned char *)(addr))) 40 : "i" (op), "R" (*(unsigned char *)(addr)))
41 41
42static inline void flush_icache_line_indexed(unsigned long addr) 42static inline void flush_icache_line_indexed(unsigned long addr)
43{ 43{