x86, apic: Fix missed handling of discrete apics
authorCyrill Gorcunov <gorcunov@openvz.org>
Tue, 15 Sep 2009 07:12:30 +0000 (11:12 +0400)
committerIngo Molnar <mingo@elte.hu>
Sun, 20 Sep 2009 18:18:07 +0000 (20:18 +0200)
commit8312136fa8b0a3ec7323bbb1a46be8c0c26e994e
treefc90b5de2e93522c505105f59c8ce6a0162bb6b9
parentefc8f7419ea0a97c38d0b80785c8c3d9ab8a4872
x86, apic: Fix missed handling of discrete apics

In case of discrete (pretty old) apics we may have cpu_has_apic bit
not set but have to check if smp_found_config (MP spec) is there
and apic was not disabled.

Also don't forget to print apic/io-apic for such case as well.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <20090915071230.GA10604@lenovo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/apic/io_apic.c