]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Call no-longer static setup_nr_cpu_ids instead of replicating it
authorMilton Miller <miltonm@bga.com>
Tue, 10 May 2011 19:28:55 +0000 (19:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 May 2011 04:30:45 +0000 (14:30 +1000)
commitfa4d13317ff2ab05fdb4be51b4dfd8440f6662f9
tree4510e40bf714ec0f16dc5c7757d0943f0b694412
parentd8d63e2fbda609151ce8b228f7651afdfd1721d2
powerpc: Call no-longer static setup_nr_cpu_ids instead of replicating it

7896e4f4dd4ce85e11edf1dc3946d86ce0a84d6e (powerpc: Set nr_cpu_ids early
and use it to free PACAs) copied the formerly static setup_nr_cpu_ids
from init/main.c but 5ded6a7f741401ea46ad7320df096aa3cecd614a (smp:
move smp setup functions to kernel/smp.c) moved it to kernel/smp.c
with a declaration in include/linux/smp.h, so we can call it instead of
replicating it.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/setup-common.c