x86/x2apic/cluster: Use all the members of one cluster specified in the smp_affinity...
[linux-2.6-block.git] / arch / x86 / kernel / apic / x2apic_phys.c
index c17e982db2759ad5913e8c586a7100267f014c32..93b25706f177ec98a5850b350e280efdb6810756 100644 (file)
@@ -120,6 +120,15 @@ static int x2apic_phys_probe(void)
        return apic == &apic_x2apic_phys;
 }
 
+/*
+ * Each logical cpu is in its own vector allocation domain.
+ */
+static void x2apic_vector_allocation_domain(int cpu, struct cpumask *retmask)
+{
+       cpumask_clear(retmask);
+       cpumask_set_cpu(cpu, retmask);
+}
+
 static struct apic apic_x2apic_phys = {
 
        .name                           = "physical x2apic",