]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: fix read_msa_* & write_msa_* functions on non-MSA toolchains
authorPaul Burton <paul.burton@imgtec.com>
Fri, 11 Jul 2014 15:44:33 +0000 (16:44 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 1 Aug 2014 22:06:44 +0000 (00:06 +0200)
commitfe15c29879545c7279085b960e5f588d06093ac9
tree66a5f64bd6981b5ce08c5eeb67271438a2583cbe
parent2242b4a521ec337cd2a121b479e707ddbe6b1ea9
MIPS: fix read_msa_* & write_msa_* functions on non-MSA toolchains

Commit 25fd225c3f31 "MIPS: Add microMIPS MSA support." attempted to use
the value of a macro within an inline asm statement but instead emitted
a comment leading to the cfcmsa & ctcmsa instructions being omitted. Fix
that by passing CFC_MSA_INSN & CTC_MSA_INSN as arguments to the asm
statements.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7305/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/msa.h