]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] MIPS: Use "R" constraint for cache_op.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 26 Apr 2006 23:00:01 +0000 (00:00 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 1 May 2006 19:03:44 +0000 (12:03 -0700)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/asm-mips/r4kcache.h

index 0bcb79a58ee94936966377aa32f4290eb2ac56d6..d9ee097fc3b57834801514e9bdb269fb7f1d28a3 100644 (file)
@@ -37,7 +37,7 @@
        "       cache   %0, %1                                  \n"     \
        "       .set    pop                                     \n"     \
        :                                                               \
-       : "i" (op), "m" (*(unsigned char *)(addr)))
+       : "i" (op), "R" (*(unsigned char *)(addr)))
 
 static inline void flush_icache_line_indexed(unsigned long addr)
 {