mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
[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>
This commit is contained in:
parent
e4ac58afdf
commit
675055bfb5
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
||||||
" cache %0, %1 \n" \
|
" cache %0, %1 \n" \
|
||||||
" .set pop \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)
|
static inline void flush_icache_line_indexed(unsigned long addr)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue