diff options
author | Milton Miller <miltonm@bga.com> | 2011-05-10 19:28:48 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-05-19 04:30:44 (GMT) |
commit | 8657ae28ddd34db0f52b0730a6a25992c0173264 (patch) | |
tree | e0baad3eca513815d97127843471228efab99b00 /sound/Kconfig | |
parent | 7c82733744a74f45e86125f369e876b896765038 (diff) | |
download | linux-fsl-qoriq-8657ae28ddd34db0f52b0730a6a25992c0173264.tar.xz |
powerpc: Respect nr_cpu_ids when calling set_cpu_possible and set_cpu_present
We should not set cpus above nr_cpu_ids to possible. While we
will trigger a warning with CONFIG_CPUMASK_DEBUG, even then the mask
initializers will set the bits beyond what the iterators check and cause
nr_cpu_ids to increase.
Respecting nr_cpu_ids during setup will allow us to use it in our initial
paca allocation. It can be reduced from NR_CPUS by the existing early param
nr_cpus=, which was added in 2b633e3fac5efada088b57d31e65401f22bcc18f (smp:
Use nr_cpus= to set nr_cpu_ids early). We already call parse_early_parms
between finding the command line and allocating the pacas.
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'sound/Kconfig')
0 files changed, 0 insertions, 0 deletions