diff options
author | Huacai Chen <chenhc@lemote.com> | 2014-02-07 18:31:33 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-03-14 20:49:23 +0400 |
commit | b616365e6dafb5d7c1cf2a8b6e8cb376a3f4a387 (patch) | |
tree | 04e7d002f0b59362ac488e3c04c982d0cc5f5bce /arch/mips/pci/msi-octeon.c | |
parent | f5868f05dc976ecd849d2a8115fab80301c127cd (diff) | |
download | linux-b616365e6dafb5d7c1cf2a8b6e8cb376a3f4a387.tar.xz |
MIPS: FPU: Fix conflict of register usage
In _restore_fp_context/_restore_fp_context32, t0 is used for both
CP0_Status and CP1_FCSR. This is a mistake and cause FP exeception on
boot, so fix it.
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Tested-by: Andreas Barth <aba@ayous.org>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/6507/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci/msi-octeon.c')
0 files changed, 0 insertions, 0 deletions