aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <[email protected]>2018-05-16 15:39:58 +0000
committerJames Hogan <[email protected]>2018-05-24 13:03:14 +0000
commitc7e814628df65f424fe197dde73bfc67e4a244d7 (patch)
tree50b12208b6edd6f5953348eee071493e7cfe5e30 /lib/bitmap.c
parentMIPS: prctl: Disallow FRE without FR with PR_SET_FP_MODE requests (diff)
downloadkernel-c7e814628df65f424fe197dde73bfc67e4a244d7.tar.gz
kernel-c7e814628df65f424fe197dde73bfc67e4a244d7.zip
MIPS: ptrace: Fix PTRACE_PEEKUSR requests for 64-bit FGRs
Use 64-bit accesses for 64-bit floating-point general registers with PTRACE_PEEKUSR, removing the truncation of their upper halves in the FR=1 mode, caused by commit bbd426f542cb ("MIPS: Simplify FP context access"), which inadvertently switched them to using 32-bit accesses. The PTRACE_POKEUSR side is fine as it's never been broken and continues using 64-bit accesses. Fixes: bbd426f542cb ("MIPS: Simplify FP context access") Signed-off-by: Maciej W. Rozycki <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: [email protected] Cc: <[email protected]> # 3.15+ Patchwork: https://patchwork.linux-mips.org/patch/19334/ Signed-off-by: James Hogan <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions