projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4ac58a
)
[MIPS] Use "R" constraint for cache_op.
author
Ralf Baechle
<ralf@linux-mips.org>
Mon, 3 Apr 2006 22:32:39 +0000
(23:32 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 19 Apr 2006 02:14:21 +0000
(
04:14
+0200)
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>
include/asm-mips/r4kcache.h
patch
|
blob
|
history
diff --git
a/include/asm-mips/r4kcache.h
b/include/asm-mips/r4kcache.h
index 90c374700977cc87091663ac5d9ac71012ce600d..2f2eb95387f6a476520c5ec95a0dbfc8c6eadc87 100644
(file)
--- 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)
{