提交 cef30b3a 编写于 作者: M Mike Travis

x86: put trigger in to detect mismatched apic versions.

Fire off one message if two apic's discovered with different
apic versions.
Signed-off-by: NMike Travis <travis@sgi.com>
上级 6eb714c6
...@@ -1833,6 +1833,11 @@ void __cpuinit generic_processor_info(int apicid, int version) ...@@ -1833,6 +1833,11 @@ void __cpuinit generic_processor_info(int apicid, int version)
num_processors++; num_processors++;
cpu = cpumask_next_zero(-1, cpu_present_mask); cpu = cpumask_next_zero(-1, cpu_present_mask);
if (version != apic_version[boot_cpu_physical_apicid])
WARN_ONCE(1,
"ACPI: apic version mismatch, bootcpu: %x cpu %d: %x\n",
apic_version[boot_cpu_physical_apicid], cpu, version);
physid_set(apicid, phys_cpu_present_map); physid_set(apicid, phys_cpu_present_map);
if (apicid == boot_cpu_physical_apicid) { if (apicid == boot_cpu_physical_apicid) {
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册