diff options
Diffstat (limited to 'arch/powerpc/kernel/smp.c')
| -rw-r--r-- | arch/powerpc/kernel/smp.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index 0008bc58e826..68034bbf2e4f 100644 --- a/arch/powerpc/kernel/smp.c +++ b/arch/powerpc/kernel/smp.c | |||
| @@ -508,9 +508,6 @@ int __devinit start_secondary(void *unused) | |||
| 508 | if (smp_ops->take_timebase) | 508 | if (smp_ops->take_timebase) |
| 509 | smp_ops->take_timebase(); | 509 | smp_ops->take_timebase(); |
| 510 | 510 | ||
| 511 | if (system_state > SYSTEM_BOOTING) | ||
| 512 | snapshot_timebase(); | ||
| 513 | |||
| 514 | secondary_cpu_time_init(); | 511 | secondary_cpu_time_init(); |
| 515 | 512 | ||
| 516 | ipi_call_lock(); | 513 | ipi_call_lock(); |
| @@ -575,11 +572,18 @@ void __init smp_cpus_done(unsigned int max_cpus) | |||
| 575 | 572 | ||
| 576 | free_cpumask_var(old_mask); | 573 | free_cpumask_var(old_mask); |
| 577 | 574 | ||
| 578 | snapshot_timebases(); | ||
| 579 | |||
| 580 | dump_numa_cpu_topology(); | 575 | dump_numa_cpu_topology(); |
| 581 | } | 576 | } |
| 582 | 577 | ||
| 578 | int arch_sd_sibling_asym_packing(void) | ||
| 579 | { | ||
| 580 | if (cpu_has_feature(CPU_FTR_ASYM_SMT)) { | ||
| 581 | printk_once(KERN_INFO "Enabling Asymmetric SMT scheduling\n"); | ||
| 582 | return SD_ASYM_PACKING; | ||
| 583 | } | ||
| 584 | return 0; | ||
| 585 | } | ||
| 586 | |||
| 583 | #ifdef CONFIG_HOTPLUG_CPU | 587 | #ifdef CONFIG_HOTPLUG_CPU |
| 584 | int __cpu_disable(void) | 588 | int __cpu_disable(void) |
| 585 | { | 589 | { |
