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)
commit829023df86d4ec39b110860cd5f106b7ac58f772
tree4a4e609c6e4af86d8e372371335a23bd51dc3912
parentbd664f892e3e2b01c79197cad3111d54b7aedf39
powerpc/tm: Drop tm_orig_msr from thread_struct

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