]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/apic.c
x86: put trigger in to detect mismatched apic versions
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / apic.c
index d19aa3aab62b45b44f05a19f9ae7efd6937d9a52..4b6df2469fe3ddda97dd7b901171b8bba5c483f0 100644 (file)
@@ -1837,6 +1837,11 @@ void __cpuinit generic_processor_info(int apicid, int version)
        num_processors++;
        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);
        if (apicid == boot_cpu_physical_apicid) {
                /*