MIPS: kernel: cps-vec: Use ta0-ta3 pseudo-registers for 64-bit
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 1 Jul 2015 08:13:31 +0000 (09:13 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 9 Jul 2015 09:15:17 +0000 (11:15 +0200)
commit0586ac75cd0746a4d5c43372dabcea8739ae0176
tree5dbdcc5c1f3cf3eaf90d080b09ecf4666598f244
parent977e043d5ea1270ce985e4c165724ff91dc3c3e2
MIPS: kernel: cps-vec: Use ta0-ta3 pseudo-registers for 64-bit

The cps-vec code assumes O32 ABI and uses t4-t7 in quite a few places. This
breaks the build on 64-bit. As a result of which, use the pseudo-registers
ta0-ta3 to make the code compatible with 64-bit.

Cc: <stable@vger.kernel.org> # 3.16+
Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: stable@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/10589/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cps-vec.S