summaryrefslogtreecommitdiffstats
path: root/block/ioprio.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2015-01-30 12:09:32 +0000
committerRalf Baechle <ralf@linux-mips.org>2015-03-27 19:42:44 +0100
commita3a49810c55e3489dfb5d72a9b2e41ab1db9ffb9 (patch)
tree195ad584ad9ab9c0b0abfe6e3394d05cf7245c4b /block/ioprio.c
parentf23ce3883a30743a5b779dc6fb90ca8620688a23 (diff)
downloadlinux-a3a49810c55e3489dfb5d72a9b2e41ab1db9ffb9.tar.bz2
MIPS: remove MSA macro recursion
Recursive macros made the code more concise & worked great for the case where the toolchain doesn't support MSA. However, with toolchains which do support MSA they lead to build failures such as: arch/mips/kernel/r4k_switch.S: Assembler messages: arch/mips/kernel/r4k_switch.S:148: Error: invalid operands `insert.w $w(0+1)[2],$1' arch/mips/kernel/r4k_switch.S:148: Error: invalid operands `insert.w $w(0+1)[3],$1' arch/mips/kernel/r4k_switch.S:148: Error: invalid operands `insert.w $w((0+1)+1)[2],$1' arch/mips/kernel/r4k_switch.S:148: Error: invalid operands `insert.w $w((0+1)+1)[3],$1' ... Drop the recursion from msa_init_all_upper invoking the msa_init_upper macro explicitly for each vector register. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9162/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'block/ioprio.c')
0 files changed, 0 insertions, 0 deletions