]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Set nr_cpu_ids early and use it to free PACAs
authorRyan Grimm <grimm@us.ibm.com>
Thu, 31 Mar 2011 19:33:02 +0000 (19:33 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Apr 2011 06:22:11 +0000 (16:22 +1000)
commit7896e4f4dd4ce85e11edf1dc3946d86ce0a84d6e
tree836a9b3cbf097ffcc650e91db2a83c9f83d0d3d5
parent2f79b355335c27c1d04a85da18334ab1760b73d7
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>
arch/powerpc/kernel/paca.c
arch/powerpc/kernel/setup-common.c