diff options
author | Emil Medve <Emilian.Medve@freescale.com> | 2015-01-22 01:21:14 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-01-23 06:02:51 +0300 |
commit | 53a448c3d5d721cd85e3ad3e38c222a4dbb17f13 (patch) | |
tree | 44f258fdcac3c6cc5f166eff7e9b536202723777 /arch/powerpc/sysdev/xics/xics-common.c | |
parent | bf794bf52a80c6278a028f0af2ca32d7c3508c9b (diff) | |
download | linux-53a448c3d5d721cd85e3ad3e38c222a4dbb17f13.tar.xz |
powerpc: Replace cpumask_weight(cpu_possible_mask) with num_possible_cpus()
num_possible_cpus() is just a shorthand for it.
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev/xics/xics-common.c')
-rw-r--r-- | arch/powerpc/sysdev/xics/xics-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/xics/xics-common.c b/arch/powerpc/sysdev/xics/xics-common.c index 365249cd346b..125743b58c70 100644 --- a/arch/powerpc/sysdev/xics/xics-common.c +++ b/arch/powerpc/sysdev/xics/xics-common.c @@ -148,7 +148,7 @@ int __init xics_smp_probe(void) /* Register all the IPIs */ xics_request_ipi(); - return cpumask_weight(cpu_possible_mask); + return num_possible_cpus(); } #endif /* CONFIG_SMP */ |