diff options
-rw-r--r-- | arch/x86/kernel/io_apic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c index 6bd51ce3ce32..58938cc4b7d3 100644 --- a/arch/x86/kernel/io_apic.c +++ b/arch/x86/kernel/io_apic.c | |||
@@ -347,13 +347,14 @@ void arch_free_chip_data(struct irq_desc *old_desc, struct irq_desc *desc) | |||
347 | } | 347 | } |
348 | } | 348 | } |
349 | 349 | ||
350 | static void set_extra_move_desc(struct irq_desc *desc, cpumask_t mask) | 350 | static void |
351 | set_extra_move_desc(struct irq_desc *desc, const struct cpumask *mask) | ||
351 | { | 352 | { |
352 | struct irq_cfg *cfg = desc->chip_data; | 353 | struct irq_cfg *cfg = desc->chip_data; |
353 | 354 | ||
354 | if (!cfg->move_in_progress) { | 355 | if (!cfg->move_in_progress) { |
355 | /* it means that domain is not changed */ | 356 | /* it means that domain is not changed */ |
356 | if (!cpus_intersects(desc->affinity, mask)) | 357 | if (!cpumask_intersects(&desc->affinity, mask)) |
357 | cfg->move_desc_pending = 1; | 358 | cfg->move_desc_pending = 1; |
358 | } | 359 | } |
359 | } | 360 | } |