powerpc: Fix load/store float double alignment handler
authorMichael Neuling <mikey@neuling.org>
Thu, 19 Feb 2009 18:52:20 +0000 (18:52 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 26 Feb 2009 03:02:53 +0000 (14:02 +1100)
commit49f297f8df9adb797334155470ea9ca68bdb041e
treea6c3c2ebd89114435137025925bb0ac9e1a931df
parent169d418b127b98a3e464e9c4b807ad083760f98c
powerpc: Fix load/store float double alignment handler

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>
arch/powerpc/kernel/align.c