summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup-common.c
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2011-05-10 19:28:52 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-05-19 14:30:44 +1000
commit2cd947f1757fb937806535be13caf2ddd813d60b (patch)
tree7c965799f1662e104053ab637666e9efd06d623f /arch/powerpc/kernel/setup-common.c
parent8657ae28ddd34db0f52b0730a6a25992c0173264 (diff)
downloadop-kernel-dev-2cd947f1757fb937806535be13caf2ddd813d60b.zip
op-kernel-dev-2cd947f1757fb937806535be13caf2ddd813d60b.tar.gz
powerpc: Use nr_cpu_ids in initial paca allocation
Now that we never set a cpu above nr_cpu_ids possible we can limit our initial paca allocation to nr_cpu_ids. We can then clamp the number of cpus in platforms/iseries/setup.c. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud