aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2016-10-19 23:18:05 +0200
committerMoyster <oysterized@gmail.com>2016-11-07 13:46:55 +0100
commita4f829cc3a6aac9ac988c736d83f00e9ade2e7c9 (patch)
tree1214d21a88402603b628859760b991d6bf452a30 /arch/powerpc
parent252a4e29c146725da16e99d953fcba089912d0b6 (diff)
Revert "powerpc/tm: Always reclaim in start_thread() for exec() class syscalls"
This reverts commit 8110080dc53335d5dd99b123144a6174f19ffc65. Guenter noticed that this breaks PPC build when CONFIG_PPC_TRANSACTIONAL_MEM is set, because this patch was not for 3.10. Cc: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/process.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index a5e339806..d55357ee9 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -1088,16 +1088,6 @@ void start_thread(struct pt_regs *regs, unsigned long start, unsigned long sp)
current->thread.regs = regs - 1;
}
-#ifdef CONFIG_PPC_TRANSACTIONAL_MEM
- /*
- * Clear any transactional state, we're exec()ing. The cause is
- * not important as there will never be a recheckpoint so it's not
- * user visible.
- */
- if (MSR_TM_SUSPENDED(mfmsr()))
- tm_reclaim_current(0);
-#endif
-
memset(regs->gpr, 0, sizeof(regs->gpr));
regs->ctr = 0;
regs->link = 0;