diff options
Diffstat (limited to 'arch/m68knommu/kernel/process.c')
-rw-r--r-- | arch/m68knommu/kernel/process.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68knommu/kernel/process.c b/arch/m68knommu/kernel/process.c index 5c9ecd427090..959cb249c759 100644 --- a/arch/m68knommu/kernel/process.c +++ b/arch/m68knommu/kernel/process.c | |||
@@ -221,6 +221,10 @@ int copy_thread(unsigned long clone_flags, | |||
221 | 221 | ||
222 | p->thread.usp = usp; | 222 | p->thread.usp = usp; |
223 | p->thread.ksp = (unsigned long)childstack; | 223 | p->thread.ksp = (unsigned long)childstack; |
224 | |||
225 | if (clone_flags & CLONE_SETTLS) | ||
226 | task_thread_info(p)->tp_value = regs->d5; | ||
227 | |||
224 | /* | 228 | /* |
225 | * Must save the current SFC/DFC value, NOT the value when | 229 | * Must save the current SFC/DFC value, NOT the value when |
226 | * the parent was last descheduled - RGH 10-08-96 | 230 | * the parent was last descheduled - RGH 10-08-96 |