From: Li Zhong Date: Wed, 27 Aug 2014 09:34:01 +0000 (+0800) Subject: powerpc: some changes in numa_setup_cpu() X-Git-Tag: fixes-against-v3.18-rc2~117^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=297cf5025b3bda59e15d6ba1f84022ebd409925b;p=pandora-kernel.git powerpc: some changes in numa_setup_cpu() this patches changes some error handling logics in numa_setup_cpu(), when cpu node is not found, so: if the cpu is possible, but not present, -1 is kept in numa_cpu_lookup_table, so later, if the cpu is added, we could set correct numa information for it. if the cpu is present, then we set the first online node to numa_cpu_lookup_table instead of 0 ( in case 0 might not be an online node? ) Cc: Nishanth Aravamudan Cc: Nathan Fontenot Signed-off-by: Li Zhong Acked-by: Nishanth Aravamudan Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed