aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2013-02-13 11:21:34 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-02-15 00:58:51 -0500
commitafc07701ced6463786d09a3b9baf894c1397e991 (patch)
tree5f6cccb458938a3d446982ab0e51655957c1fd53 /arch/powerpc/kernel/asm-offsets.c
parent97a0aac9b844a8bcfebb6805322998f8ca4db9dc (diff)
powerpc: Add transactional memory paca scratch register to show_regs
Add transactional memory paca scratch register to show_regs. This is useful for debugging. 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>
Diffstat (limited to 'arch/powerpc/kernel/asm-offsets.c')
-rw-r--r--arch/powerpc/kernel/asm-offsets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c
index 0fdc97496d7c..781190367292 100644
--- a/arch/powerpc/kernel/asm-offsets.c
+++ b/arch/powerpc/kernel/asm-offsets.c
@@ -126,6 +126,7 @@ int main(void)
126 DEFINE(THREAD_TAR, offsetof(struct thread_struct, tar)); 126 DEFINE(THREAD_TAR, offsetof(struct thread_struct, tar));
127#endif 127#endif
128#ifdef CONFIG_PPC_TRANSACTIONAL_MEM 128#ifdef CONFIG_PPC_TRANSACTIONAL_MEM
129 DEFINE(PACATMSCRATCH, offsetof(struct paca_struct, tm_scratch));
129 DEFINE(THREAD_TM_TFHAR, offsetof(struct thread_struct, tm_tfhar)); 130 DEFINE(THREAD_TM_TFHAR, offsetof(struct thread_struct, tm_tfhar));
130 DEFINE(THREAD_TM_TEXASR, offsetof(struct thread_struct, tm_texasr)); 131 DEFINE(THREAD_TM_TEXASR, offsetof(struct thread_struct, tm_texasr));
131 DEFINE(THREAD_TM_TFIAR, offsetof(struct thread_struct, tm_tfiar)); 132 DEFINE(THREAD_TM_TFIAR, offsetof(struct thread_struct, tm_tfiar));