diff options
author | Anton Blanchard <anton@samba.org> | 2013-09-23 02:04:37 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-10-11 05:48:26 (GMT) |
commit | e156bd8ad76939a9bcd66d85cf06f8cde1fb8030 (patch) | |
tree | 4da0a3c2138309a8366036d1068567414d4a8c76 /arch/powerpc/kernel/ptrace.c | |
parent | 12f04f2be80dd8d9da24534828f3ab3189ca5af2 (diff) | |
download | linux-e156bd8ad76939a9bcd66d85cf06f8cde1fb8030.tar.xz |
powerpc: Fix offset of FPRs in VSX registers in little endian builds
The FPRs overlap the high doublewords of the first 32 VSX registers.
Fix TS_FPROFFSET and TS_VSRLOWOFFSET so we access the correct fields
in little endian mode.
If VSX is disabled the FPRs are only one doubleword in length so
TS_FPROFFSET needs adjusting in little endian.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions