[PATCH 6/12] arch/powerpc: remove references to cpu_*_map.

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE5283d

4 messages, 3 authors, 2012-02-19 · open the first message on its own page

[PATCH 6/12] arch/powerpc: remove references to cpu_*_map.

From: Rusty Russell <hidden>
Date: 2012-02-15 05:01:25

From: Rusty Russell <redacted>

This has been obsolescent for a while; time for the final push.

Signed-off-by: Rusty Russell <redacted>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <redacted>
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 = {

Re: [PATCH 6/12] arch/powerpc: remove references to cpu_*_map.

From: Srivatsa S. Bhat <hidden>
Date: 2012-02-15 09:21:35

On 02/15/2012 10:28 AM, Rusty Russell wrote:
From: Rusty Russell <redacted>

This has been obsolescent for a while; time for the final push.

Signed-off-by: Rusty Russell <redacted>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <redacted>
Cc: linuxppc-dev@lists.ozlabs.org
---

Reviewed-by: Srivatsa S. Bhat <redacted>

Regards,
Srivatsa S. Bhat

Re: [PATCH 6/12] arch/powerpc: remove references to cpu_*_map.

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2012-02-16 03:29:34

On Wed, 2012-02-15 at 14:51 +0530, Srivatsa S. Bhat wrote:
On 02/15/2012 10:28 AM, Rusty Russell wrote:
quoted
From: Rusty Russell <redacted>

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.

Re: [PATCH 6/12] arch/powerpc: remove references to cpu_*_map.

From: Rusty Russell <hidden>
Date: 2012-02-19 23:09:37

On Thu, 16 Feb 2012 14:29:04 +1100, Benjamin Herrenschmidt [off-list ref] wrote:
On Wed, 2012-02-15 at 14:51 +0530, Srivatsa S. Bhat wrote:
quoted
On 02/15/2012 10:28 AM, Rusty Russell wrote:
quoted
From: Rusty Russell <redacted>

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help