]> 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:32:28 +0000 (17:32 -0700)
commit8a36a1251e3be6a07976c186c6aee160be84b40c
tree09fa803caa8dd2a67601a8473515afb69a428364
parentc3f0c63d33f21deffdf78fe7b506bb0ee2b4d249
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