aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/mpparse_64.c
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-04-04 15:42:15 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:35 -0400
commit746f2244065ddfbe0c5d339e309db4d2b48f185b (patch)
tree1e44cdefca464e981421dfc6e2e2f261a9302215 /arch/x86/kernel/mpparse_64.c
parent888032cd23f0244fdefdcbe265952e7831a9cacc (diff)
x86: unify arch/x86/kernel/mpparse_64.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/mpparse_64.c')
-rw-r--r--arch/x86/kernel/mpparse_64.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/x86/kernel/mpparse_64.c b/arch/x86/kernel/mpparse_64.c
index 1c3bf80b3ba6..5c916383bb71 100644
--- a/arch/x86/kernel/mpparse_64.c
+++ b/arch/x86/kernel/mpparse_64.c
@@ -65,19 +65,25 @@ static int __init mpf_checksum(unsigned char *mp, int len)
65 65
66static void __cpuinit MP_processor_info(struct mpc_config_processor *m) 66static void __cpuinit MP_processor_info(struct mpc_config_processor *m)
67{ 67{
68 int apicid;
68 char *bootup_cpu = ""; 69 char *bootup_cpu = "";
69 70
70 if (!(m->mpc_cpuflag & CPU_ENABLED)) { 71 if (!(m->mpc_cpuflag & CPU_ENABLED)) {
71 disabled_cpus++; 72 disabled_cpus++;
72 return; 73 return;
73 } 74 }
75#ifdef CONFIG_X86_NUMAQ
76 apicid = mpc_apic_id(m, translation_table[mpc_record]);
77#else
78 apicid = m->mpc_apicid;
79#endif
74 if (m->mpc_cpuflag & CPU_BOOTPROCESSOR) { 80 if (m->mpc_cpuflag & CPU_BOOTPROCESSOR) {
75 bootup_cpu = " (Bootup-CPU)"; 81 bootup_cpu = " (Bootup-CPU)";
76 boot_cpu_physical_apicid = m->mpc_apicid; 82 boot_cpu_physical_apicid = m->mpc_apicid;
77 } 83 }
78 84
79 printk(KERN_INFO "Processor #%d%s\n", m->mpc_apicid, bootup_cpu); 85 printk(KERN_INFO "Processor #%d%s\n", m->mpc_apicid, bootup_cpu);
80 generic_processor_info(m->mpc_apicid, 0); 86 generic_processor_info(apicid, m->mpc_apicver);
81} 87}
82 88
83static void __init MP_bus_info(struct mpc_config_bus *m) 89static void __init MP_bus_info(struct mpc_config_bus *m)