]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Don't assume 64-bit FP registers for FP regset
authorPaul Burton <paul.burton@imgtec.com>
Mon, 27 Jan 2014 15:23:07 +0000 (15:23 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:10 +0000 (23:09 +0100)
commitf7f133b868d8c2e5e98b8334e8ba4ef63f77b661
tree3c51d511969f55871797ee9665b1ec8e2c43b8fe
parentce56773d085be791e13c6bac743a6744701db44e
MIPS: Don't assume 64-bit FP registers for FP regset

When we want to access 64-bit FP register values we can only treat
consecutive registers as being consecutive in memory when the width of
an FP register equals 64 bits. This assumption will not remain true once
MSA support is introduced, so provide a code path which copies each 64
bit FP register value in turn when the width of an FP register differs
from 64 bits.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6427/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/ptrace.c