diff options
author | Paul Burton <paul.burton@imgtec.com> | 2015-09-21 20:07:42 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-10-02 20:16:46 +0300 |
commit | 085c2f25d36ef4a69bb1dab933daee0692426f15 (patch) | |
tree | 7fc03ac0ba5a66889daa06524abb8f5159c1ec09 /arch/mips/cavium-octeon/setup.c | |
parent | 0fa24340f7c88d2814547d8d24d5e3a1803009cc (diff) | |
download | linux-085c2f25d36ef4a69bb1dab933daee0692426f15.tar.xz |
MIPS: Fix R2300 FP context switch handling
Commit 1a3d59579b9f ("MIPS: Tidy up FPU context switching") removed FP
context saving from the asm-written resume function in favour of reusing
existing code to perform the same task. However it only removed the FP
context saving code from the r4k_switch.S implementation of resume.
Remove it from the r2300_switch.S implementation too in order to prevent
attempting to save the FP context twice, which would likely lead to an
exception from the second save because the FPU had already been disabled
by the first save.
This patch has only been build tested, using rbtx49xx_defconfig.
Fixes: 1a3d59579b9f ("MIPS: Tidy up FPU context switching")
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-kernel@vger.kernel.org
Cc: Manuel Lauss <manuel.lauss@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/11167/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cavium-octeon/setup.c')
0 files changed, 0 insertions, 0 deletions