]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Add FP/VSX and VMX register load functions for transactional memory
authorMichael Neuling <mikey@neuling.org>
Wed, 13 Feb 2013 16:21:36 +0000 (16:21 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 15 Feb 2013 05:58:52 +0000 (16:58 +1100)
commita2dcbb32f0647a3b8230c146a2f980654a7738af
treece51790a7a8cd7e869805e16658c9fcafa7a806c
parent98ae22e15b430bfed5def01ac1a88ec9396284c8
powerpc: Add FP/VSX and VMX register load functions for transactional memory

This adds functions to restore the state of the FP/VSX registers from
what's stored in the thread_struct.  Two version for FP/VSX are required
since one restores them from transactional/checkpoint side of the
thread_struct and the other from the speculated side.

Similar functions are added for VMX registers.

Signed-off-by: Matt Evans <matt@ozlabs.org>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/fpu.S
arch/powerpc/kernel/vector.S