summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mipsregs.h
diff options
context:
space:
mode:
authorHuacai Chen <chenhc@lemote.com>2020-09-21 12:12:26 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-09-21 23:14:47 +0300
commit4e43e5df5850ca8300180f422727e42a5065aaaa (patch)
treebfede98a2cccf4cfb275519cbb321b946005f668 /arch/mips/include/asm/mipsregs.h
parent6fa573a3e307af923c3220beeba65e8f566e94c2 (diff)
downloadlinux-4e43e5df5850ca8300180f422727e42a5065aaaa.tar.xz
MIPS: context switch: Use save/restore instead of set/clear for Status.CU2
Some processors (such as Loongson-3) need to enable CU2 in kernel mode, current set/clear method will lose Status.CU2 during context switching, so use save/restore method instead. Signed-off-by: Huacai Chen <chenhc@lemote.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include/asm/mipsregs.h')
0 files changed, 0 insertions, 0 deletions