summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/pci-tx4938.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-10-31 17:27:01 +0100
committerRalf Baechle <ralf@linux-mips.org>2016-11-04 01:38:52 +0100
commit758ef0a939d4c003381d2a97d9fb51b2d6d7e162 (patch)
tree99a480803264184a3215421820a07863ae6803ac /arch/mips/pci/pci-tx4938.c
parentMIPS: Remove FIR from ISA I FP signal context (diff)
downloadlinux-758ef0a939d4c003381d2a97d9fb51b2d6d7e162.tar.xz
linux-758ef0a939d4c003381d2a97d9fb51b2d6d7e162.zip
MIPS: Fix ISA I/II FP signal context offsets
Fix a regression introduced with commit 2db9ca0a3551 ("MIPS: Use struct mips_abi offsets to save FP context") for MIPS I/I FP signal contexts, by converting save/restore code to the updated internal API. Start FGR offsets from 0 rather than SC_FPREGS from $a0 and use $a1 rather than the offset of SC_FPC_CSR from $a0 for the Floating Point Control/Status Register (FCSR). Document the new internal API and adjust assembly code formatting for consistency. Signed-off-by: Maciej W. Rozycki <macro@imgtec.com> Cc: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14476/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci/pci-tx4938.c')
0 files changed, 0 insertions, 0 deletions