diff options
author | Alexander Gordeev <agordeev@redhat.com> | 2012-06-07 09:14:49 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-06-08 05:44:27 -0400 |
commit | 9d8e10667624ea6411f04495aef1fa4a8a778ee8 (patch) | |
tree | d804e319fbb27a21e532b9888d9ee3b13c2640a9 /arch/x86/kernel/apic/numaq_32.c | |
parent | 6398268d2bc454735f11e08705e858f9fdf5c750 (diff) |
x86/apic: Factor out default vector_allocation_domain() operation
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/20120607131449.GC4759@dhcp-26-207.brq.redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/apic/numaq_32.c')
-rw-r--r-- | arch/x86/kernel/apic/numaq_32.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/arch/x86/kernel/apic/numaq_32.c b/arch/x86/kernel/apic/numaq_32.c index f00a68cca37a..eb2d466fd81a 100644 --- a/arch/x86/kernel/apic/numaq_32.c +++ b/arch/x86/kernel/apic/numaq_32.c | |||
@@ -441,20 +441,6 @@ static int probe_numaq(void) | |||
441 | return found_numaq; | 441 | return found_numaq; |
442 | } | 442 | } |
443 | 443 | ||
444 | static void numaq_vector_allocation_domain(int cpu, struct cpumask *retmask) | ||
445 | { | ||
446 | /* Careful. Some cpus do not strictly honor the set of cpus | ||
447 | * specified in the interrupt destination when using lowest | ||
448 | * priority interrupt delivery mode. | ||
449 | * | ||
450 | * In particular there was a hyperthreading cpu observed to | ||
451 | * deliver interrupts to the wrong hyperthread when only one | ||
452 | * hyperthread was specified in the interrupt desitination. | ||
453 | */ | ||
454 | cpumask_clear(retmask); | ||
455 | cpumask_bits(retmask)[0] = APIC_ALL_CPUS; | ||
456 | } | ||
457 | |||
458 | static void numaq_setup_portio_remap(void) | 444 | static void numaq_setup_portio_remap(void) |
459 | { | 445 | { |
460 | int num_quads = num_online_nodes(); | 446 | int num_quads = num_online_nodes(); |
@@ -491,7 +477,7 @@ static struct apic __refdata apic_numaq = { | |||
491 | .check_apicid_used = numaq_check_apicid_used, | 477 | .check_apicid_used = numaq_check_apicid_used, |
492 | .check_apicid_present = numaq_check_apicid_present, | 478 | .check_apicid_present = numaq_check_apicid_present, |
493 | 479 | ||
494 | .vector_allocation_domain = numaq_vector_allocation_domain, | 480 | .vector_allocation_domain = flat_vector_allocation_domain, |
495 | .init_apic_ldr = numaq_init_apic_ldr, | 481 | .init_apic_ldr = numaq_init_apic_ldr, |
496 | 482 | ||
497 | .ioapic_phys_id_map = numaq_ioapic_phys_id_map, | 483 | .ioapic_phys_id_map = numaq_ioapic_phys_id_map, |