diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 1ed6c0600cde..d990408ca06f 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
@@ -594,9 +594,10 @@ set_desc_affinity(struct irq_desc *desc, const struct cpumask *mask) | |||
594 | 594 | ||
595 | /* check that before desc->addinity get updated */ | 595 | /* check that before desc->addinity get updated */ |
596 | set_extra_move_desc(desc, mask); | 596 | set_extra_move_desc(desc, mask); |
597 | cpumask_and(desc->affinity, cfg->domain, mask); | ||
598 | 597 | ||
599 | return apic->cpu_mask_to_apicid_and(desc->affinity, cpu_online_mask); | 598 | cpumask_copy(desc->affinity, mask); |
599 | |||
600 | return apic->cpu_mask_to_apicid_and(desc->affinity, cfg->domain); | ||
600 | } | 601 | } |
601 | 602 | ||
602 | static void | 603 | static void |