diff options
author | 2008-07-02 18:53:44 -0700 | |
---|---|---|
committer | 2008-07-08 13:16:23 +0200 | |
commit | 5f4765f96eebee6a0adc4009758b597ba48a0a3a (patch) | |
tree | b47b506e989a31e8a14536706b0ef3b14333be2e /lib/debugobjects.c | |
parent | x86: merge zones_sizes_init for numa and non numa on 32-bit (diff) | |
download | wireguard-linux-5f4765f96eebee6a0adc4009758b597ba48a0a3a.tar.xz wireguard-linux-5f4765f96eebee6a0adc4009758b597ba48a0a3a.zip |
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 <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions