summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorSteven J. Hill <Steven.Hill@imgtec.com>2014-04-11 10:11:31 -0500
committerRalf Baechle <ralf@linux-mips.org>2014-06-03 22:12:05 +0200
commit25198235c705be46a3863b9a0b22f1aee90e47a0 (patch)
tree73657c93fead3cd29c2fb625cbe70c3961f0fbb1 /arch/mips
parent1d61ff6a1aefa59e9c8fd09da1c03735c60edd2b (diff)
downloadblackbird-op-linux-25198235c705be46a3863b9a0b22f1aee90e47a0.tar.gz
blackbird-op-linux-25198235c705be46a3863b9a0b22f1aee90e47a0.zip
MIPS: Fix 'write_msa_##' inline macro.
The 'write_msa_##' macro incorrectly uses the 'cfcmsa' instruction, which should be the 'ctcmsa' instruction. Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com> Reviewed-by: Paul Burton <Paul.Burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6750/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/include/asm/msa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/msa.h b/arch/mips/include/asm/msa.h
index a2aba6c3ec05..baddc5f600be 100644
--- a/arch/mips/include/asm/msa.h
+++ b/arch/mips/include/asm/msa.h
@@ -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)); \
}
OpenPOWER on IntegriCloud