summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/io.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2013-09-23 04:04:39 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-10-11 07:48:28 +0200
commit926f160f460170b0361f600f365369685ad74009 (patch)
tree04537aba608b597cbf3af3d8a774b4c09bd52924 /arch/powerpc/include/asm/io.h
parentpowerpc: PTRACE_PEEKUSR/PTRACE_POKEUSER of FPR registers in little endian builds (diff)
downloadlinux-926f160f460170b0361f600f365369685ad74009.tar.xz
linux-926f160f460170b0361f600f365369685ad74009.zip
powerpc: Little endian builds double word swap VSX state during context save/restore
The elements within VSX loads and stores are big endian ordered regardless of endianness. Our VSX context save/restore code uses lxvd2x and stxvd2x which is a 2x doubleword operation. This means the two doublewords will be swapped and we have to perform another swap to undo it. We need to do this on save and restore. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/io.h')
0 files changed, 0 insertions, 0 deletions