diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-07-22 09:08:21 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-22 11:09:15 +0400 |
commit | 1b9b89e7f163336ad84200b66a17284dbf26aced (patch) | |
tree | e5f84e8c4e63de6029c38d10c979054014599874 /include/asm-x86/genapic_64.h | |
parent | 76c3bb15d6786a0b8da0ad0090e0c9c3672fc08b (diff) | |
download | linux-1b9b89e7f163336ad84200b66a17284dbf26aced.tar.xz |
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>
Diffstat (limited to 'include/asm-x86/genapic_64.h')
-rw-r--r-- | include/asm-x86/genapic_64.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/genapic_64.h b/include/asm-x86/genapic_64.h index 2871b3fccb21..1e832e49f54e 100644 --- a/include/asm-x86/genapic_64.h +++ b/include/asm-x86/genapic_64.h @@ -14,6 +14,7 @@ struct genapic { char *name; + int (*acpi_madt_oem_check)(char *oem_id, char *oem_table_id); u32 int_delivery_mode; u32 int_dest_mode; int (*apic_id_registered)(void); |