x86: Add x86_init platform override to fix up NUMA core numbering
authorDaniel J Blueman <daniel@numascale-asia.com>
Mon, 5 Dec 2011 08:20:37 +0000 (16:20 +0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Dec 2011 16:17:21 +0000 (17:17 +0100)
commit64be4c1c2428e148de6081af235e2418e6a66dda
tree40c9e75b84e5deae48a3012da59c2c64be1fe369
parent9a0ebfbe3f1007008d198ccc6b86783cdb312fec
x86: Add x86_init platform override to fix up NUMA core numbering

Add an x86_init vector for handling inconsistent core numbering.
This is useful for multi-fabric platforms, such as Numascale
NumaConnect.

v2:
 - use struct x86_cpuinit_ops
 - provide default fall-back function to warn

Signed-off-by: Daniel J Blueman <daniel@numascale-asia.com>
Cc: Steffen Persvold <sp@numascale.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Link: http://lkml.kernel.org/r/1323073238-32686-2-git-send-email-daniel@numascale-asia.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/x86_init.h
arch/x86/kernel/cpu/amd.c
arch/x86/kernel/cpu/common.c
arch/x86/kernel/x86_init.c