diff options
Diffstat (limited to 'arch/powerpc/sysdev/mpic.c')
-rw-r--r-- | arch/powerpc/sysdev/mpic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerpc/sysdev/mpic.c index c4648ad5c1f3..bbfbbf2025fd 100644 --- a/arch/powerpc/sysdev/mpic.c +++ b/arch/powerpc/sysdev/mpic.c | |||
@@ -1929,7 +1929,7 @@ int __init smp_mpic_probe(void) | |||
1929 | 1929 | ||
1930 | DBG("smp_mpic_probe()...\n"); | 1930 | DBG("smp_mpic_probe()...\n"); |
1931 | 1931 | ||
1932 | nr_cpus = cpumask_weight(cpu_possible_mask); | 1932 | nr_cpus = num_possible_cpus(); |
1933 | 1933 | ||
1934 | DBG("nr_cpus: %d\n", nr_cpus); | 1934 | DBG("nr_cpus: %d\n", nr_cpus); |
1935 | 1935 | ||