]> git.openfabrics.org - ~emulex/infiniband.git/commit
powerpc: Fix Unaligned Loads and Stores
authorTom Musta <tommusta@gmail.com>
Fri, 18 Oct 2013 19:42:08 +0000 (14:42 -0500)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 30 Oct 2013 05:01:30 +0000 (16:01 +1100)
commit6506b4718bb59c5d4e59235b81b5e13ea5d3c49a
tree24a45ddb2ba911750bf3c2ac9b649560fb65342e
parent630c8a5fc9fb2f3541652b65f23630757d304cc9
powerpc: Fix Unaligned Loads and Stores

This patch modifies the unaligned access routines of the sstep.c
module so that it properly reverses the bytes of storage operands
in the little endian kernel kernel.   This is implemented by
breaking an unaligned little endian access into a combination of
single byte accesses plus an overal byte reversal operation.

Signed-off-by: Tom Musta <tmusta@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/lib/sstep.c