From: Li Zhong Date: Wed, 27 Aug 2014 09:34:00 +0000 (+0800) Subject: powerpc: Only set numa node information for present cpus at boottime X-Git-Tag: fixes-against-v3.18-rc2~117^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc3c4327c92b9ceb9a6356ec64d1b2ab2dc851f9;p=pandora-kernel.git powerpc: Only set numa node information for present cpus at boottime As Nish suggested, it makes more sense to init the numa node informatiion for present cpus at boottime, which could also avoid WARN_ON(1) in numa_setup_cpu(). With this change, we also need to change the smp_prepare_cpus() to set up numa information only on present cpus. For those possible, but not present cpus, their numa information will be set up after they are started, as the original code did before commit 2fabf084b6ad. Cc: Nishanth Aravamudan Cc: Nathan Fontenot Signed-off-by: Li Zhong Acked-by: Nishanth Aravamudan Tested-by: Cyril Bur Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed