aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r--arch/powerpc/kernel/process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index 373980ae52ad..6cd50ac12219 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -871,7 +871,8 @@ void show_regs(struct pt_regs * regs)
871 printk("SOFTE: %ld ", regs->softe); 871 printk("SOFTE: %ld ", regs->softe);
872#endif 872#endif
873#ifdef CONFIG_PPC_TRANSACTIONAL_MEM 873#ifdef CONFIG_PPC_TRANSACTIONAL_MEM
874 printk("\nPACATMSCRATCH: %016llx ", get_paca()->tm_scratch); 874 if (MSR_TM_ACTIVE(regs->msr))
875 printk("\nPACATMSCRATCH: %016llx ", get_paca()->tm_scratch);
875#endif 876#endif
876 877
877 for (i = 0; i < 32; i++) { 878 for (i = 0; i < 32; i++) {