]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: update io_apic.c to the new cpumask code
authorIngo Molnar <mingo@elte.hu>
Wed, 17 Dec 2008 12:35:51 +0000 (13:35 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 17 Dec 2008 12:35:51 +0000 (13:35 +0100)
Impact: build fix

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

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic.c

index 6bd51ce3ce32a631f19306ebde347f24441b9397..58938cc4b7d38e0908572c8fb147dcf1f027d149 100644 (file)
@@ -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;
        }
 }