]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Jun 2011 01:33:40 +0000 (10:33 +0900)
commitf003fed4410b5da934d4663db9dfb8693dd8dca8
treeeab5c9ef594c136b8a9748bbcfc1cff7a459a50c
parent00914170ac616eef890065c518a749ad66899f09
powerpc: Set nr_cpu_ids early and use it to free PACAs

commit c1854e00727f50f7ac99e98d26ece04c087ef785 upstream.

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

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/kernel/paca.c
arch/powerpc/kernel/setup-common.c