]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Fix Unaligned LE Floating Point Loads and Stores
authorTom Musta <tommusta@gmail.com>
Fri, 18 Oct 2013 19:44:17 +0000 (14:44 -0500)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 30 Oct 2013 05:01:36 +0000 (16:01 +1100)
commitcc6563a3c13aab3c69d1524fe5f24a3755c4d3dd
treeda410fc25920bad6355d2cc121ef31f9faa5a1d8
parent2a652045ce4e2cc0ce1a07c190fdd544ec1ff275
powerpc: Fix Unaligned LE Floating Point Loads and Stores

This patch addresses unaligned single precision floating point loads
and stores in the single-step code.  The old implementation
improperly treated an 8 byte structure as an array of two 4 byte
words, which is a classic little endian bug.

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