projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27e74da
)
powerpc: Remove references to cpu_*_map
author
Rusty Russell
<
[email protected]
>
Wed, 15 Feb 2012 17:51:26 +0000
(17:51 +0000)
committer
Benjamin Herrenschmidt
<
[email protected]
>
Wed, 22 Feb 2012 05:48:47 +0000
(16:48 +1100)
This has been obsolescent for a while; time for the final push.
In adjacent context, replaced old cpus_* with cpumask_*.
Signed-off-by: Rusty Russell <
[email protected]
>
Signed-off-by: Benjamin Herrenschmidt <
[email protected]
>
arch/powerpc/platforms/wsp/smp.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/wsp/smp.c
b/arch/powerpc/platforms/wsp/smp.c
index 71bd105f38636b0435fae0590deec38cd02ddf1e..0ba103ae83a53c5218c5517227e942bf800753ba 100644
(file)
--- 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 = {