summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/genapic_64.c
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2008-07-10 11:16:54 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-12 08:45:03 +0200
commit12a67cf6851871ca8df42025c94f140c303d0f7f (patch)
tree3896e793962d38feed8b7fbd096d3564a9b65796 /arch/x86/kernel/genapic_64.c
parentcff73a6ffaed726780b001937d2a42efde553922 (diff)
x64, x2apic/intr-remap: x2apic cluster mode support
x2apic cluster mode support. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Cc: akpm@linux-foundation.org Cc: arjan@linux.intel.com Cc: andi@firstfloor.org Cc: ebiederm@xmission.com Cc: jbarnes@virtuousgeek.org Cc: steiner@sgi.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/genapic_64.c')
-rw-r--r--arch/x86/kernel/genapic_64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/genapic_64.c b/arch/x86/kernel/genapic_64.c
index 6657de609dc..1029e178cdf 100644
--- a/arch/x86/kernel/genapic_64.c
+++ b/arch/x86/kernel/genapic_64.c
@@ -38,6 +38,8 @@ void __init setup_apic_routing(void)
{
if (uv_system_type == UV_NON_UNIQUE_APIC)
genapic = &apic_x2apic_uv_x;
+ else if (cpu_has_x2apic && intr_remapping_enabled)
+ genapic = &apic_x2apic_cluster;
else
#ifdef CONFIG_ACPI
/*