powerpc/tm: Drop tm_orig_msr from thread_struct
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Mon, 6 Jul 2015 10:54:10 +0000 (16:24 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Jul 2015 06:02:37 +0000 (16:02 +1000)
Currently tm_orig_msr is getting used during process context switch only.
Then there is ckpt_regs which saves the checkpointed userspace context
The MSR slot contained in ckpt_regs structure can be used during process
context switch instead of tm_orig_msr, thus allowing us to drop it from
thread_struct structure. This patch does that change.

Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/processor.h
arch/powerpc/kernel/process.c

Simple merge
Simple merge