summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2015-03-10 12:42:03 +1030
committerRusty Russell <rusty@rustcorp.com.au>2015-03-10 13:54:38 +1030
commit6a4bd8d1412a6cd72b65d7c86a2c08e9ec1d6b97 (patch)
treea02a0bc867e4931b31238131be010b065655123e
parent87313df7b47c5048d8920a486f77835a49406754 (diff)
downloadop-kernel-dev-6a4bd8d1412a6cd72b65d7c86a2c08e9ec1d6b97.zip
op-kernel-dev-6a4bd8d1412a6cd72b65d7c86a2c08e9ec1d6b97.tar.gz
ia64: remove deprecated cpus_ usage.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--arch/ia64/kernel/irq_ia64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/irq_ia64.c b/arch/ia64/kernel/irq_ia64.c
index 9f40d97..eaa3199 100644
--- a/arch/ia64/kernel/irq_ia64.c
+++ b/arch/ia64/kernel/irq_ia64.c
@@ -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;
}
OpenPOWER on IntegriCloud