summaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-common/dpmc.c
diff options
context:
space:
mode:
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>2011-04-26 01:57:27 (GMT)
committerMike Frysinger <vapier@gentoo.org>2011-05-25 12:24:11 (GMT)
commitfecedc807116ed820ca6f3138d6d47a3bc6c5a60 (patch)
treecfeee24f8012b44f5eec50c36a3cd4c3c613bd03 /arch/blackfin/mach-common/dpmc.c
parente887eb61e5a27ba54405f2ca51d8d0d378c4ffe5 (diff)
downloadlinux-fsl-qoriq-fecedc807116ed820ca6f3138d6d47a3bc6c5a60.tar.xz
Blackfin: convert old cpumask API to new one
old cpu_xxx() APIs is planned to removed later. then, converted. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-common/dpmc.c')
-rw-r--r--arch/blackfin/mach-common/dpmc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/blackfin/mach-common/dpmc.c b/arch/blackfin/mach-common/dpmc.c
index 5e4112e..f5685a4 100644
--- a/arch/blackfin/mach-common/dpmc.c
+++ b/arch/blackfin/mach-common/dpmc.c
@@ -85,10 +85,11 @@ static void bfin_wakeup_cpu(void)
{
unsigned int cpu;
unsigned int this_cpu = smp_processor_id();
- cpumask_t mask = cpu_online_map;
+ cpumask_t mask;
- cpu_clear(this_cpu, mask);
- for_each_cpu_mask(cpu, mask)
+ cpumask_copy(&mask, cpu_online_mask);
+ cpumask_clear_cpu(this_cpu, &mask);
+ for_each_cpu(cpu, &mask)
platform_send_ipi_cpu(cpu, IRQ_SUPPLE_0);
}