Skip to content

Commit

Permalink
x86: update io_apic.c to the new cpumask code
Browse files Browse the repository at this point in the history
Impact: build fix

The sparseirq tree crossed with the cpumask changes, fix the fallout.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Dec 17, 2008
1 parent 855caa3 commit d733e00
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions arch/x86/kernel/io_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit d733e00

Please sign in to comment.