aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/smp.c')
-rw-r--r--arch/powerpc/kernel/smp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index d381ec90b759..c8458c531b25 100644
--- a/arch/powerpc/kernel/smp.c
+++ b/arch/powerpc/kernel/smp.c
@@ -338,8 +338,8 @@ static void __init smp_create_idle(unsigned int cpu)
338#ifdef CONFIG_PPC64 338#ifdef CONFIG_PPC64
339 paca[cpu].__current = p; 339 paca[cpu].__current = p;
340#endif 340#endif
341 current_set[cpu] = p->thread_info; 341 current_set[cpu] = task_thread_info(p);
342 p->thread_info->cpu = cpu; 342 task_thread_info(p)->cpu = cpu;
343} 343}
344 344
345void __init smp_prepare_cpus(unsigned int max_cpus) 345void __init smp_prepare_cpus(unsigned int max_cpus)
@@ -375,7 +375,7 @@ void __devinit smp_prepare_boot_cpu(void)
375#ifdef CONFIG_PPC64 375#ifdef CONFIG_PPC64
376 paca[boot_cpuid].__current = current; 376 paca[boot_cpuid].__current = current;
377#endif 377#endif
378 current_set[boot_cpuid] = current->thread_info; 378 current_set[boot_cpuid] = task_thread_info(current);
379} 379}
380 380
381#ifdef CONFIG_HOTPLUG_CPU 381#ifdef CONFIG_HOTPLUG_CPU