powerpc: New macros for transactional memory support
authorMichael Neuling <mikey@neuling.org>
Wed, 13 Feb 2013 16:21:32 +0000 (16:21 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 15 Feb 2013 05:58:50 +0000 (16:58 +1100)
commit8b3c34cf0e0ab334a24aad7367cd06a5ba09a898
treea0dbebeaee859a25117559f7a4aff9c59224d847
parentf4c3aff2230bfe696a0683073b77446248d7895c
powerpc: New macros for transactional memory support

This adds new macros for saving and restoring checkpointed architected state
from and to the thread_struct.

It also adds some debugging macros for when your brain explodes trying to debug
your transactional memory enabled kernel.

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/include/asm/ppc_asm.h
arch/powerpc/include/asm/processor.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/fpu.S
arch/powerpc/kernel/process.c
arch/powerpc/kernel/traps.c