x86: add apic probe for genapic 64bit, v2
authorYinghai Lu <yhlu.kernel@gmail.com>
Tue, 22 Jul 2008 05:08:21 +0000 (22:08 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 22 Jul 2008 07:09:15 +0000 (09:09 +0200)
commit1b9b89e7f163336ad84200b66a17284dbf26aced
treee5f84e8c4e63de6029c38d10c979054014599874
parent76c3bb15d6786a0b8da0ad0090e0c9c3672fc08b
x86: add apic probe for genapic 64bit, v2

introducing an APIC handling probing abstraction:

 static struct genapic *apic_probe[] __initdata = {
&apic_x2apic_uv_x,
&apic_x2apic_phys,
&apic_x2apic_cluster,
&apic_physflat,
NULL,
 };

This way we can remove UV, x2apic specific code from genapic_64.c and
move them to their specific genapic files.

[ v2: fix compiling when CONFIG_ACPI is not set ]

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Jack Steiner <steiner@sgi.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/genapic_64.c
arch/x86/kernel/genapic_flat_64.c
arch/x86/kernel/genx2apic_cluster.c
arch/x86/kernel/genx2apic_phys.c
arch/x86/kernel/genx2apic_uv_x.c
include/asm-x86/genapic_64.h