summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-17 13:35:51 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-17 13:35:51 +0100
commitd733e00d7c10cc68333fbb88108bb15bb044f61b (patch)
treec85933292b19c5d38d1f0de150f92fcf2463d615 /arch
parent855caa37b9b61c1ccfeb91a2bc04d90bfc5e4525 (diff)
downloadop-kernel-dev-d733e00d7c10cc68333fbb88108bb15bb044f61b.zip
op-kernel-dev-d733e00d7c10cc68333fbb88108bb15bb044f61b.tar.gz
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/io_apic.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c
index 6bd51ce..58938cc 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)
}
}
-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;
}
}
OpenPOWER on IntegriCloud