aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r--arch/s390/kernel/process.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/kernel/process.c b/arch/s390/kernel/process.c
index cc7c4ba0774d..96492cf2d491 100644
--- a/arch/s390/kernel/process.c
+++ b/arch/s390/kernel/process.c
@@ -270,14 +270,12 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long new_stackp,
270 save_fp_regs(&current->thread.fp_regs); 270 save_fp_regs(&current->thread.fp_regs);
271 memcpy(&p->thread.fp_regs, &current->thread.fp_regs, 271 memcpy(&p->thread.fp_regs, &current->thread.fp_regs,
272 sizeof(s390_fp_regs)); 272 sizeof(s390_fp_regs));
273 p->thread.user_seg = __pa((unsigned long) p->mm->pgd) | _SEGMENT_TABLE;
274 /* Set a new TLS ? */ 273 /* Set a new TLS ? */
275 if (clone_flags & CLONE_SETTLS) 274 if (clone_flags & CLONE_SETTLS)
276 p->thread.acrs[0] = regs->gprs[6]; 275 p->thread.acrs[0] = regs->gprs[6];
277#else /* CONFIG_64BIT */ 276#else /* CONFIG_64BIT */
278 /* Save the fpu registers to new thread structure. */ 277 /* Save the fpu registers to new thread structure. */
279 save_fp_regs(&p->thread.fp_regs); 278 save_fp_regs(&p->thread.fp_regs);
280 p->thread.user_seg = __pa((unsigned long) p->mm->pgd) | _REGION_TABLE;
281 /* Set a new TLS ? */ 279 /* Set a new TLS ? */
282 if (clone_flags & CLONE_SETTLS) { 280 if (clone_flags & CLONE_SETTLS) {
283 if (test_thread_flag(TIF_31BIT)) { 281 if (test_thread_flag(TIF_31BIT)) {