]> git.karo-electronics.de Git - linux-beck.git/commit
MIPS: save/restore MSACSR register on context switch
authorPaul Burton <paul.burton@imgtec.com>
Fri, 11 Jul 2014 15:44:28 +0000 (16:44 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 1 Aug 2014 22:06:43 +0000 (00:06 +0200)
commitf7a46fa7bb0047d3e226702a0c4b786862fe6843
tree5b0ffc5e784eae55821d9fe9948e5c61b52f1f30
parent558155a0a731b4f56846559a57ca7ca921230497
MIPS: save/restore MSACSR register on context switch

I added a field for the MSACSR register in struct mips_fpu_struct, but
never actually made use of it... This is a clear bug. Save and restore
the MSACSR register along with the vector registers.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7300/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/asmmacro.h
arch/mips/kernel/asm-offsets.c