Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 675055bf authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[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: default avatarRalf Baechle <ralf@linux-mips.org>
parent e4ac58af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{