diff options
author | Tejun Heo <tj@kernel.org> | 2011-05-02 14:18:52 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-05-02 14:18:52 +0200 |
commit | c4b90c11992e61123071977c0e5556e59a70852c (patch) | |
tree | e50bc560f98e7eef03e5954a845f9a262736ee17 /arch/x86/include/asm/numa_32.h | |
parent | acd26d611e60c1a7c2a14269ab99760f779121f4 (diff) | |
download | linux-c4b90c11992e61123071977c0e5556e59a70852c.tar.gz linux-c4b90c11992e61123071977c0e5556e59a70852c.tar.bz2 linux-c4b90c11992e61123071977c0e5556e59a70852c.zip |
x86-32, NUMA: Automatically set apicid -> node in setup_local_APIC()
Some x86-32 NUMA implementations (NUMAQ) don't initialize apicid ->
node mapping using set_apicid_to_node() during NUMA init but implement
custom apic->x86_32_numa_cpu_node() instead.
This patch automatically initializes the default apic -> node mapping
table from apic->x86_32_numa_cpu_node() from setup_local_APIC() such
that the mapping table is in sync with the actual mapping.
As the table isn't used by custom implementations, this doesn't make
any difference at this point. This is in preparation of unifying
numa_cpu_node() between x86-32 and 64.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/numa_32.h')
0 files changed, 0 insertions, 0 deletions