diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-05 10:49:18 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-05 15:25:08 +1030 |
commit | 409e56f3ef355ef7670b33e3fc6de8d1256a11d3 (patch) | |
tree | 841e911fbb0268750b1ee7bee0804f98984822d7 /arch/parisc | |
parent | 0cc0cd7049f06a5ddaf38b6b268f0663c806a337 (diff) | |
download | linux-stable-409e56f3ef355ef7670b33e3fc6de8d1256a11d3.tar.gz linux-stable-409e56f3ef355ef7670b33e3fc6de8d1256a11d3.tar.bz2 linux-stable-409e56f3ef355ef7670b33e3fc6de8d1256a11d3.zip |
parisc: fix up obsolete cpu function usage.
Thanks to spatch.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Helge Deller <deller@gmx.de>
Cc: linux-parisc@vger.kernel.org
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c index cfe056fe7f5c..f3191db6e2e9 100644 --- a/arch/parisc/kernel/irq.c +++ b/arch/parisc/kernel/irq.c @@ -525,8 +525,8 @@ void do_cpu_irq_mask(struct pt_regs *regs) desc = irq_to_desc(irq); cpumask_copy(&dest, desc->irq_data.affinity); if (irqd_is_per_cpu(&desc->irq_data) && - !cpu_isset(smp_processor_id(), dest)) { - int cpu = first_cpu(dest); + !cpumask_test_cpu(smp_processor_id(), &dest)) { + int cpu = cpumask_first(&dest); printk(KERN_DEBUG "redirecting irq %d from CPU %d to %d\n", irq, smp_processor_id(), cpu); |