diff options
author | 2015-01-30 12:09:32 +0000 | |
---|---|---|
committer | 2015-03-27 19:42:44 +0100 | |
commit | a3a49810c55e3489dfb5d72a9b2e41ab1db9ffb9 (patch) | |
tree | 195ad584ad9ab9c0b0abfe6e3394d05cf7245c4b /arch/mips/kernel/traps.c | |
parent | MIPS: assume at as source/dest of MSA copy/insert instructions (diff) | |
download | wireguard-linux-a3a49810c55e3489dfb5d72a9b2e41ab1db9ffb9.tar.xz wireguard-linux-a3a49810c55e3489dfb5d72a9b2e41ab1db9ffb9.zip |
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 'arch/mips/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions