提交 675055bf 编写于 作者: R Ralf Baechle

[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: NRalf Baechle <ralf@linux-mips.org>
上级 e4ac58af
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册