summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2015-03-05 10:49:18 +1030
committerRusty Russell <rusty@rustcorp.com.au>2015-03-05 15:25:08 +1030
commit35168f512ff7eff9153e8c192f1155c994a75a0a (patch)
treeb52eab0d18b15327d6a7813e4c41f3be0a111b52 /arch/blackfin
parent409e56f3ef355ef7670b33e3fc6de8d1256a11d3 (diff)
downloadlinux-35168f512ff7eff9153e8c192f1155c994a75a0a.tar.gz
linux-35168f512ff7eff9153e8c192f1155c994a75a0a.tar.bz2
linux-35168f512ff7eff9153e8c192f1155c994a75a0a.zip
blackfin: fix up obsolete cpu function usage.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: Steven Miao <realmz6@gmail.com> Cc: adi-buildroot-devel@lists.sourceforge.net
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-bf561/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf561/smp.c b/arch/blackfin/mach-bf561/smp.c
index 11789beca75a..8c0c80fd1a45 100644
--- a/arch/blackfin/mach-bf561/smp.c
+++ b/arch/blackfin/mach-bf561/smp.c
@@ -124,7 +124,7 @@ void platform_send_ipi(cpumask_t callmap, int irq)
unsigned int cpu;
int offset = (irq == IRQ_SUPPLE_0) ? 6 : 8;
- for_each_cpu_mask(cpu, callmap) {
+ for_each_cpu(cpu, &callmap) {
BUG_ON(cpu >= 2);
SSYNC();
bfin_write_SICB_SYSCR(bfin_read_SICB_SYSCR() | (1 << (offset + cpu)));