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>
Mon, 23 Feb 2009 04:53:05 +0000 (15:53 +1100)
commit553631e25f238de3a8085d2daf9cd4dcd96f8573
tree1e2b0dc9c4f22e2109cc454b742115bf2d6c480a
parent545bba18247067bb63c94e042bed90599d08151b
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