summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-04-27 00:00:01 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-05-01 12:03:44 -0700
commit97644aa31cb72ce0e9ebfae27042bc56db672dee (patch)
treef4848ddb36c3111ee3ed9955229639cf0b475ecb
parentc34250c9922f0e00f14db99c6892b81cc77083e8 (diff)
downloadlinux-stable-97644aa31cb72ce0e9ebfae27042bc56db672dee.tar.gz
linux-stable-97644aa31cb72ce0e9ebfae27042bc56db672dee.tar.bz2
linux-stable-97644aa31cb72ce0e9ebfae27042bc56db672dee.zip
[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 <ralf@linux-mips.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-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 0bcb79a58ee9..d9ee097fc3b5 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)
{