]> git.baikalelectronics.ru Git - kernel.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)
commit589e0f07cb577d902b0d2a464534608613cfb0b0
tree24a45ddb2ba911750bf3c2ac9b649560fb65342e
parent2bbc168793bc9762b0c654e9f7ec79034f22b131
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