Message ID | 1329281884.20466.rusty@rustcorp.com.au (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
On 02/15/2012 10:28 AM, Rusty Russell wrote: > From: Rusty Russell <rusty@rustcorp.com.au> > > This has been obsolescent for a while; time for the final push. > > Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> > Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> > Cc: Paul Mackerras <paulus@samba.org> > Cc: linuxppc-dev@lists.ozlabs.org > --- Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Regards, Srivatsa S. Bhat
On Wed, 2012-02-15 at 14:51 +0530, Srivatsa S. Bhat wrote: > On 02/15/2012 10:28 AM, Rusty Russell wrote: > > > From: Rusty Russell <rusty@rustcorp.com.au> > > > > This has been obsolescent for a while; time for the final push. > > Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Want me to stick that in -powerpc ? If yes, now or -next ? Cheers, Ben.
On Thu, 16 Feb 2012 14:29:04 +1100, Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote: > On Wed, 2012-02-15 at 14:51 +0530, Srivatsa S. Bhat wrote: > > On 02/15/2012 10:28 AM, Rusty Russell wrote: > > > > > From: Rusty Russell <rusty@rustcorp.com.au> > > > > > > This has been obsolescent for a while; time for the final push. > > > > > Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> > > Want me to stick that in -powerpc ? If yes, now or -next ? Please, in -next. Cheers, Rusty.
diff --git a/arch/powerpc/platforms/wsp/smp.c b/arch/powerpc/platforms/wsp/smp.c --- a/arch/powerpc/platforms/wsp/smp.c +++ b/arch/powerpc/platforms/wsp/smp.c @@ -71,7 +71,7 @@ int __devinit smp_a2_kick_cpu(int nr) static int __init smp_a2_probe(void) { - return cpus_weight(cpu_possible_map); + return num_possible_cpus(); } static struct smp_ops_t a2_smp_ops = {