mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
x86: update io_apic.c to the new cpumask code
Impact: build fix The sparseirq tree crossed with the cpumask changes, fix the fallout. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
855caa37b9
commit
d733e00d7c
1 changed files with 3 additions and 2 deletions
|
@ -347,13 +347,14 @@ void arch_free_chip_data(struct irq_desc *old_desc, struct irq_desc *desc)
|
|||
}
|
||||
}
|
||||
|
||||
static void set_extra_move_desc(struct irq_desc *desc, cpumask_t mask)
|
||||
static void
|
||||
set_extra_move_desc(struct irq_desc *desc, const struct cpumask *mask)
|
||||
{
|
||||
struct irq_cfg *cfg = desc->chip_data;
|
||||
|
||||
if (!cfg->move_in_progress) {
|
||||
/* it means that domain is not changed */
|
||||
if (!cpus_intersects(desc->affinity, mask))
|
||||
if (!cpumask_intersects(&desc->affinity, mask))
|
||||
cfg->move_desc_pending = 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue