]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: Fix load/store float double alignment handler
authorMichael Neuling <mikey@neuling.org>
Thu, 19 Feb 2009 18:52:20 +0000 (18:52 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Mar 2009 00:52:56 +0000 (17:52 -0700)
commit12f6c7575ef7751cb5ac8b40dc0e477c53426bf9
tree09e28c9a5cc202b6944e43ebac688c14d427c2ed
parentedefbccb4c061e26a7390ecaee6f2fc0c1399b32
powerpc: Fix load/store float double alignment handler

commit 49f297f8df9adb797334155470ea9ca68bdb041e upstream.

When we introduced VSX, we changed the way FPRs are stored in the
thread_struct.  Unfortunately we missed the load/store float double
alignment handler code when updating how we access FPRs in the
thread_struct.

Below fixes this and merges the little/big endian case.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/kernel/align.c