From: Ralf Baechle Date: Wed, 26 Apr 2006 23:00:01 +0000 (+0100) Subject: [PATCH] MIPS: Use "R" constraint for cache_op. X-Git-Url: http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.16.y.git;a=commitdiff;h=97644aa31cb72ce0e9ebfae27042bc56db672dee [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 --- --- 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) {