]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/smp: Convert NR_CPUS to nr_cpu_ids
authorSantosh Sivaraj <santosh@fossix.org>
Tue, 27 Jun 2017 07:00:06 +0000 (12:30 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Jun 2017 03:08:16 +0000 (13:08 +1000)
commitc642af9c41f09296997519499d16ff30e700816a
treed74a02b808bef6b1b415f63a9bb23f8d4c85c3d3
parentf8d0d5dc641cd405ad40cb2498b04df9716baee6
powerpc/smp: Convert NR_CPUS to nr_cpu_ids

nr_cpu_ids can be limited by nr_cpus boot parameter, whereas NR_CPUS is a
compile time constant, which shouldn't be compared against during cpu kick.

Signed-off-by: Santosh Sivaraj <santosh@fossix.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/smp.c
arch/powerpc/platforms/cell/smp.c
arch/powerpc/platforms/powernv/smp.c
arch/powerpc/platforms/pseries/smp.c