aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/cell/smp.c')
-rw-r--r--arch/powerpc/platforms/cell/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/smp.c b/arch/powerpc/platforms/cell/smp.c
index c8017a7bcabd..b64e7ead752f 100644
--- a/arch/powerpc/platforms/cell/smp.c
+++ b/arch/powerpc/platforms/cell/smp.c
@@ -106,7 +106,7 @@ static int __init smp_iic_probe(void)
106{ 106{
107 iic_request_IPIs(); 107 iic_request_IPIs();
108 108
109 return cpumask_weight(cpu_possible_mask); 109 return num_possible_cpus();
110} 110}
111 111
112static void smp_cell_setup_cpu(int cpu) 112static void smp_cell_setup_cpu(int cpu)