x86: introduce initial apicid
store initial_apicid from early identify. it is could be different from
phys_proc_id later.
also print it out in /proc/cpuinfo.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/include/asm-x86/processor.h b/include/asm-x86/processor.h
index 1f9501a..d590da8 100644
--- a/include/asm-x86/processor.h
+++ b/include/asm-x86/processor.h
@@ -101,6 +101,7 @@
/* cpuid returned max cores value: */
u16 x86_max_cores;
u16 apicid;
+ u16 initial_apicid;
u16 x86_clflush_size;
#ifdef CONFIG_SMP
/* number of cores as seen by the OS: */