]> git.baikalelectronics.ru Git - kernel.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)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 26 Feb 2009 03:02:53 +0000 (14:02 +1100)
commitc4adafedee26b01980377ec0062f84ef0ef1275f
treea6c3c2ebd89114435137025925bb0ac9e1a931df
parentd03a45431b28e648ae77abd5b4af02acc82ce0a6
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