* [PATCH 6/12] arch/powerpc: remove references to cpu_*_map.
@ 2012-02-15 4:58 Rusty Russell
2012-02-15 9:21 ` Srivatsa S. Bhat
0 siblings, 1 reply; 4+ messages in thread
From: Rusty Russell @ 2012-02-15 4:58 UTC (permalink / raw)
To: Benjamin Herrenschmidt, Paul Mackerras, linuxppc-dev; +Cc: linux-kernel
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
---
arch/powerpc/platforms/wsp/smp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 = {
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 6/12] arch/powerpc: remove references to cpu_*_map.
2012-02-15 4:58 [PATCH 6/12] arch/powerpc: remove references to cpu_*_map Rusty Russell
@ 2012-02-15 9:21 ` Srivatsa S. Bhat
2012-02-16 3:29 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 4+ messages in thread
From: Srivatsa S. Bhat @ 2012-02-15 9:21 UTC (permalink / raw)
To: Rusty Russell
Cc: Venkatesh Pallipadi, linux-kernel, Paul Mackerras,
akpm@linux-foundation.org, linuxppc-dev
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 6/12] arch/powerpc: remove references to cpu_*_map.
2012-02-15 9:21 ` Srivatsa S. Bhat
@ 2012-02-16 3:29 ` Benjamin Herrenschmidt
2012-02-19 22:45 ` Rusty Russell
0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Herrenschmidt @ 2012-02-16 3:29 UTC (permalink / raw)
To: Rusty Russell
Cc: Venkatesh Pallipadi, linux-kernel, Paul Mackerras,
Srivatsa S. Bhat, akpm@linux-foundation.org, linuxppc-dev
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 6/12] arch/powerpc: remove references to cpu_*_map.
2012-02-16 3:29 ` Benjamin Herrenschmidt
@ 2012-02-19 22:45 ` Rusty Russell
0 siblings, 0 replies; 4+ messages in thread
From: Rusty Russell @ 2012-02-19 22:45 UTC (permalink / raw)
To: Benjamin Herrenschmidt
Cc: Venkatesh Pallipadi, linux-kernel, Paul Mackerras,
Srivatsa S. Bhat, akpm@linux-foundation.org, linuxppc-dev
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-02-19 22:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-15 4:58 [PATCH 6/12] arch/powerpc: remove references to cpu_*_map Rusty Russell
2012-02-15 9:21 ` Srivatsa S. Bhat
2012-02-16 3:29 ` Benjamin Herrenschmidt
2012-02-19 22:45 ` Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).