diff options
author | Mike Travis <travis@sgi.com> | 2009-01-16 18:58:13 -0500 |
---|---|---|
committer | Mike Travis <travis@sgi.com> | 2009-01-16 18:58:13 -0500 |
commit | cef30b3a84e1c7cbd49987d83c5863c001445842 (patch) | |
tree | 340a0e17c1ddb40a3733b02b721772968f8499ea /arch/x86/kernel/apic.c | |
parent | 6eb714c63ed5bd663627f7dda8c4d5258f3b64ef (diff) |
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: Mike Travis <travis@sgi.com>
Diffstat (limited to 'arch/x86/kernel/apic.c')
-rw-r--r-- | arch/x86/kernel/apic.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c index 0f830e4f5675..db0998641c58 100644 --- a/arch/x86/kernel/apic.c +++ b/arch/x86/kernel/apic.c | |||
@@ -1833,6 +1833,11 @@ void __cpuinit generic_processor_info(int apicid, int version) | |||
1833 | num_processors++; | 1833 | num_processors++; |
1834 | cpu = cpumask_next_zero(-1, cpu_present_mask); | 1834 | cpu = cpumask_next_zero(-1, cpu_present_mask); |
1835 | 1835 | ||
1836 | if (version != apic_version[boot_cpu_physical_apicid]) | ||
1837 | WARN_ONCE(1, | ||
1838 | "ACPI: apic version mismatch, bootcpu: %x cpu %d: %x\n", | ||
1839 | apic_version[boot_cpu_physical_apicid], cpu, version); | ||
1840 | |||
1836 | physid_set(apicid, phys_cpu_present_map); | 1841 | physid_set(apicid, phys_cpu_present_map); |
1837 | if (apicid == boot_cpu_physical_apicid) { | 1842 | if (apicid == boot_cpu_physical_apicid) { |
1838 | /* | 1843 | /* |