diff options
author | Anton Blanchard <anton@samba.org> | 2013-09-23 12:04:38 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-10-11 16:48:27 +1100 |
commit | 87fec0514f613f8ac43c01b0bc0bc7072c5d10ae (patch) | |
tree | 9da3fd6e0c527501160535e9095c4596fb4eb056 /arch/powerpc/include/asm/ppc-opcode.h | |
parent | e156bd8ad76939a9bcd66d85cf06f8cde1fb8030 (diff) | |
download | lwn-87fec0514f613f8ac43c01b0bc0bc7072c5d10ae.tar.gz lwn-87fec0514f613f8ac43c01b0bc0bc7072c5d10ae.zip |
powerpc: PTRACE_PEEKUSR/PTRACE_POKEUSER of FPR registers in little endian builds
FPRs overlap the high 64bits of the first 32 VSX registers. The
ptrace FP read/write code assumes big endian ordering and grabs
the lowest 64 bits.
Fix this by using the TS_FPR macro which does the right thing.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/ppc-opcode.h')
0 files changed, 0 insertions, 0 deletions