aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v32/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/arch-v32/kernel/process.c')
-rw-r--r--arch/cris/arch-v32/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/cris/arch-v32/kernel/process.c b/arch/cris/arch-v32/kernel/process.c
index e88b13b139d5..843513102d3c 100644
--- a/arch/cris/arch-v32/kernel/process.c
+++ b/arch/cris/arch-v32/kernel/process.c
@@ -157,7 +157,7 @@ copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
157 * The TLS is in $mof beacuse it is the 5th argument to sys_clone. 157 * The TLS is in $mof beacuse it is the 5th argument to sys_clone.
158 */ 158 */
159 if (p->mm && (clone_flags & CLONE_SETTLS)) { 159 if (p->mm && (clone_flags & CLONE_SETTLS)) {
160 p->thread_info->tls = regs->mof; 160 task_thread_info(p)->tls = regs->mof;
161 } 161 }
162 162
163 /* Put the switch stack right below the pt_regs. */ 163 /* Put the switch stack right below the pt_regs. */