aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-03-07 21:50:37 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-04-01 00:37:29 -0400
commitd72944457bb7d5c4be43aa1b741cb93c69484c20 (patch)
tree637f0b44106a44e4cc56cd45c3de9ef172f4bb4f /arch/powerpc/kernel
parent65e646ac509ff45e9f35e7fc1fea0d2b6723679f (diff)
powerpc/smp: Add a smp_ops->bringup_up() done callback
This allows us to stop abusing smp_ops->setup_cpu() for cleanup tasks that have to take place after the initial boot time CPU bringup. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/smp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index f6cc5c19c6a..df3739713ed 100644
--- a/arch/powerpc/kernel/smp.c
+++ b/arch/powerpc/kernel/smp.c
@@ -553,7 +553,11 @@ void __init smp_cpus_done(unsigned int max_cpus)
553 553
554 free_cpumask_var(old_mask); 554 free_cpumask_var(old_mask);
555 555
556 if (smp_ops && smp_ops->bringup_done)
557 smp_ops->bringup_done();
558
556 dump_numa_cpu_topology(); 559 dump_numa_cpu_topology();
560
557} 561}
558 562
559int arch_sd_sibling_asym_packing(void) 563int arch_sd_sibling_asym_packing(void)