From: Ralf Baechle Date: Wed, 26 Apr 2006 23:00:01 +0000 (+0100) Subject: [PATCH] MIPS: Use "R" constraint for cache_op. X-Git-Tag: v2.6.16.12~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97644aa31cb72ce0e9ebfae27042bc56db672dee;p=thirdparty%2Fkernel%2Fstable.git [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/asm-mips/r4kcache.h b/include/asm-mips/r4kcache.h index 0bcb79a58ee94..d9ee097fc3b57 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) {