summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/ptrace.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2014-01-27 15:23:06 +0000
committerRalf Baechle <ralf@linux-mips.org>2014-03-26 23:09:10 +0100
commit6cec7c4ad79f8fd66574044adfa284b20ee7c4fd (patch)
treee39412abf11011ad987f611ed75aa4fb886c4fa8 /arch/mips/kernel/ptrace.c
parentef1c47afc0e1b7cd1b0102e02d3c3a57fe5f16d8 (diff)
downloadtalos-obmc-linux-6cec7c4ad79f8fd66574044adfa284b20ee7c4fd.tar.gz
talos-obmc-linux-6cec7c4ad79f8fd66574044adfa284b20ee7c4fd.zip
MIPS: Don't assume 64-bit FP registers for dump_{,task_}fpu
This code assumed that saved FP registers are 64 bits wide, an assumption which will no longer be true once MSA is introduced. This patch modifies the code to copy the lower 64 bits of each register in turn, which is safe for any FP register width >= 64 bits. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6425/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud