diff options
Diffstat (limited to 'arch/powerpc/kernel/smp.c')
-rw-r--r-- | arch/powerpc/kernel/smp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index e1417c42155c..0321007086f7 100644 --- a/arch/powerpc/kernel/smp.c +++ b/arch/powerpc/kernel/smp.c | |||
@@ -48,6 +48,7 @@ | |||
48 | #ifdef CONFIG_PPC64 | 48 | #ifdef CONFIG_PPC64 |
49 | #include <asm/paca.h> | 49 | #include <asm/paca.h> |
50 | #endif | 50 | #endif |
51 | #include <asm/vdso.h> | ||
51 | #include <asm/debug.h> | 52 | #include <asm/debug.h> |
52 | 53 | ||
53 | #ifdef DEBUG | 54 | #ifdef DEBUG |
@@ -570,6 +571,8 @@ void __devinit start_secondary(void *unused) | |||
570 | #ifdef CONFIG_PPC64 | 571 | #ifdef CONFIG_PPC64 |
571 | if (system_state == SYSTEM_RUNNING) | 572 | if (system_state == SYSTEM_RUNNING) |
572 | vdso_data->processorCount++; | 573 | vdso_data->processorCount++; |
574 | |||
575 | vdso_getcpu_init(); | ||
573 | #endif | 576 | #endif |
574 | notify_cpu_starting(cpu); | 577 | notify_cpu_starting(cpu); |
575 | set_cpu_online(cpu, true); | 578 | set_cpu_online(cpu, true); |