diff options
author | 2015-01-30 12:09:39 +0000 | |
---|---|---|
committer | 2015-03-27 19:42:48 +0100 | |
commit | 1f3a2c6e229ccb8df8115b04d16ad4832767cf3a (patch) | |
tree | 9af45f0131586543307d1d116002679e44cabec1 /arch/mips/kernel/ptrace.c | |
parent | Revert "MIPS: Don't assume 64-bit FP registers for context switch" (diff) | |
download | linux-1f3a2c6e229ccb8df8115b04d16ad4832767cf3a.tar.gz linux-1f3a2c6e229ccb8df8115b04d16ad4832767cf3a.tar.bz2 linux-1f3a2c6e229ccb8df8115b04d16ad4832767cf3a.zip |
MIPS: MSA: Fix big-endian FPR_IDX implementation
The maximum word size is 64-bits since MSA state is saved using st.d
which stores two 64-bit words, therefore reimplement FPR_IDX using xor,
and only within each 64-bit word.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9169/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions