From: Ralf Baechle Date: Mon, 3 Apr 2006 22:32:39 +0000 (+0100) Subject: [MIPS] Use "R" constraint for cache_op. X-Git-Tag: v2.6.17-rc2~1^2~16 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=675055bfb5f99be56a20a6a214439adf23591786;p=linux-2.6-omap-h63xx.git [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 --- diff --git a/include/asm-mips/r4kcache.h b/include/asm-mips/r4kcache.h index 90c37470097..2f2eb95387f 100644 --- a/include/asm-mips/r4kcache.h +++ b/include/asm-mips/r4kcache.h @@ -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) {