mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-18 12:45:08 +00:00
powerpc: Remove references to cpu_*_map
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 <rusty@rustcorp.com.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
27e74da980
commit
07d2f1a54a
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ int __devinit smp_a2_kick_cpu(int nr)
|
||||||
|
|
||||||
static int __init smp_a2_probe(void)
|
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 = {
|
static struct smp_ops_t a2_smp_ops = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue