diff options
author | Huacai Chen <chenhc@lemote.com> | 2020-09-21 17:12:26 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-09-21 22:14:47 +0200 |
commit | 4e43e5df5850ca8300180f422727e42a5065aaaa (patch) | |
tree | bfede98a2cccf4cfb275519cbb321b946005f668 /arch/mips/include/asm/stackframe.h | |
parent | 6fa573a3e307af923c3220beeba65e8f566e94c2 (diff) | |
download | linux-4e43e5df5850ca8300180f422727e42a5065aaaa.tar.gz linux-4e43e5df5850ca8300180f422727e42a5065aaaa.tar.bz2 linux-4e43e5df5850ca8300180f422727e42a5065aaaa.zip |
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/stackframe.h')
0 files changed, 0 insertions, 0 deletions