From: Yinghai Lu Date: Thu, 3 Jul 2008 01:53:44 +0000 (-0700) Subject: x86: move init_cpu_to_node after get_smp_config X-Git-Tag: v2.6.27-rc1~1106^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f4765f96eebee6a0adc4009758b597ba48a0a3a;p=pandora-kernel.git x86: move init_cpu_to_node after get_smp_config when acpi=off, cpu_to_apicid is ready after get_smp_config so need to move init_cpu_to_node after it. otherwise, we will get wrong cpu->node mapping, and it will rely on amd_detect_cmp() to correct it - but that is too late as setup_per_cpu_data is already called before that so we will get per_cpu_data on the wrong node. Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed