diff options
author | Milton Miller <miltonm@bga.com> | 2011-05-10 21:28:52 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-05-19 06:30:44 +0200 |
commit | 2cd947f1757fb937806535be13caf2ddd813d60b (patch) | |
tree | 7c965799f1662e104053ab637666e9efd06d623f /arch/powerpc/kernel/setup-common.c | |
parent | powerpc: Respect nr_cpu_ids when calling set_cpu_possible and set_cpu_present (diff) | |
download | linux-2cd947f1757fb937806535be13caf2ddd813d60b.tar.xz linux-2cd947f1757fb937806535be13caf2ddd813d60b.zip |
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