powerpc: Set nr_cpu_ids early and use it to free PACAs

Without this, "holes" in the CPU numbering can cause us to
free too many PACAs

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Ryan Grimm 2011-03-31 19:33:02 +00:00 • committed by Benjamin Herrenschmidt
commit c1854e0072
2 changed files with 4 additions and 1 deletions