aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v32/kernel/smp.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 04:06:04 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 12:08:58 -0500
commit718d6114fcd894bf4d3527b9e206a1cbcaaae35d (patch)
tree3a247a3f9201657ff67735b559984b87ecb1b12f /arch/cris/arch-v32/kernel/smp.c
parentcfa0f29b6da2c4d45ecdeaabe17af4c4adc47c05 (diff)
[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/smp.c')
-rw-r--r--arch/cris/arch-v32/kernel/smp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/cris/arch-v32/kernel/smp.c b/arch/cris/arch-v32/kernel/smp.c
index 13867f4fad16..da40d19a151e 100644
--- a/arch/cris/arch-v32/kernel/smp.c
+++ b/arch/cris/arch-v32/kernel/smp.c
@@ -113,10 +113,10 @@ smp_boot_one_cpu(int cpuid)
113 if (IS_ERR(idle)) 113 if (IS_ERR(idle))
114 panic("SMP: fork failed for CPU:%d", cpuid); 114 panic("SMP: fork failed for CPU:%d", cpuid);
115 115
116 idle->thread_info->cpu = cpuid; 116 task_thread_info(idle)->cpu = cpuid;
117 117
118 /* Information to the CPU that is about to boot */ 118 /* Information to the CPU that is about to boot */
119 smp_init_current_idle_thread = idle->thread_info; 119 smp_init_current_idle_thread = task_thread_info(idle);
120 cpu_now_booting = cpuid; 120 cpu_now_booting = cpuid;
121 121
122 /* Wait for CPU to come online */ 122 /* Wait for CPU to come online */