ia64: remove deprecated cpus_ usage.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 10 Mar 2015 02:12:03 +0000 (12:42 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 10 Mar 2015 03:24:38 +0000 (13:54 +1030)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/ia64/kernel/irq_ia64.c

index 9f40d972969c505768e5f11796bec47dd0164492..eaa3199f98c8e0ed190b17686ad9023959b8bf92 100644 (file)
@@ -173,7 +173,7 @@ static void __clear_irq_vector(int irq)
        cfg->vector = IRQ_VECTOR_UNASSIGNED;
        cfg->domain = CPU_MASK_NONE;
        irq_status[irq] = IRQ_UNUSED;
-       cpus_andnot(vector_table[vector], vector_table[vector], domain);
+       cpumask_andnot(&vector_table[vector], &vector_table[vector], &domain);
 }
 
 static void clear_irq_vector(int irq)
@@ -259,7 +259,7 @@ static enum vector_domain_type {
 static cpumask_t vector_allocation_domain(int cpu)
 {
        if (vector_domain_type == VECTOR_DOMAIN_PERCPU)
-               return cpumask_of_cpu(cpu);
+               return *cpumask_of(cpu);
        return CPU_MASK_ALL;
 }