MIPS: kernel: r4k_switch: Add support for MIPS R6
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Mon, 24 Nov 2014 11:54:19 +0000 (11:54 +0000)
committerMarkos Chandras <markos.chandras@imgtec.com>
Tue, 17 Feb 2015 15:37:27 +0000 (15:37 +0000)
commit207083b1da59242cbbcd1752eea359ed4760914b
treec9eade37fa995edf46b4580a593d0d4e79acb508
parent9c7d5768681193b3bb9f00409d689141d20d5bff
MIPS: kernel: r4k_switch: Add support for MIPS R6

Add the MIPS R6 related preprocessor definitions for save/restore
FPU related functions. We also set the appropriate ISA level
so the final return instruction "jr ra" will produce the correct
opcode on R6.

Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/include/asm/asmmacro.h
arch/mips/kernel/r4k_switch.S