aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorTom Musta <tommusta@gmail.com>2013-10-18 12:07:10 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-10-30 16:01:17 +1100
commit075f6311af30b011eaa8e50341c06a9082a796a9 (patch)
treec555a6b3f274e1c2fa2107c69ccc12cb3f9f6ad5 /lib/mpi/mpi-bit.c
parentdf015604cf5bb09f79c353926dd7e40d00d251a3 (diff)
powerpc: Fix Handler of Unaligned Load/Store Strings
The alignment handler is incorrect for unaligned string instructions in little endian mode. These instructions access data as arrays of bytes and thus are endian neutral. However, the routine also handles the load/store multiple instructions, which are NOT endian neutral. This patch toggles the byte swapping flag for the string instructions in little endian builds. This effectively disables the byte swapping logic. Signed-off-by: Tom Musta <tmusta@gmail.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions