aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v32/kernel/process.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 01:06:04 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 09:08:58 -0800
commit718d6114fcd894bf4d3527b9e206a1cbcaaae35d (patch)
tree3a247a3f9201657ff67735b559984b87ecb1b12f /arch/cris/arch-v32/kernel/process.c
parentcfa0f29b6da2c4d45ecdeaabe17af4c4adc47c05 (diff)
downloadlinux-718d6114fcd894bf4d3527b9e206a1cbcaaae35d.tar.gz
[PATCH] cris: task_thread_info()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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 e88b13b139d569..843513102d3cfc 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,
* The TLS is in $mof beacuse it is the 5th argument to sys_clone.
*/
if (p->mm && (clone_flags & CLONE_SETTLS)) {
- p->thread_info->tls = regs->mof;
+ task_thread_info(p)->tls = regs->mof;
}
/* Put the switch stack right below the pt_regs. */