MIPS: Fix 'write_msa_##' inline macro.
PATCH v2 1/1 MIPS: Fix 'write_msa_##' inline macro.
From: "Steven J. Hill" <[email protected]>
The 'write_msa_##' macro incorrectly uses the 'cfcmsa' instruction, which should be the 'ctcmsa' instruction.
Signed-off-by Steven J. Hill <[email protected]>
Reviewed-by Paul Burton <[email protected]>
---
v2: Fix typo.
arch/mips/include/asm/msa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/include/asm/msa.h +1 -1
@@ -84,7 +84,7 @@ static inline void write_msa_##name(unsigned int val) \ __asm__ __volatile__( \" .set push\n" \" .set msa\n" \ - " cfcmsa $" #cs ", %0\n" \ + " ctcmsa $" #cs ", %0\n" \" .set pop\n" \ : :"r" (val)); \ }
Signature · 1 line
1.8.3.2