提交 35168f51 编写于 作者: R Rusty Russell

blackfin: fix up obsolete cpu function usage.

Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
Cc: Steven Miao <realmz6@gmail.com>
Cc: adi-buildroot-devel@lists.sourceforge.net
上级 409e56f3
...@@ -124,7 +124,7 @@ void platform_send_ipi(cpumask_t callmap, int irq) ...@@ -124,7 +124,7 @@ void platform_send_ipi(cpumask_t callmap, int irq)
unsigned int cpu; unsigned int cpu;
int offset = (irq == IRQ_SUPPLE_0) ? 6 : 8; int offset = (irq == IRQ_SUPPLE_0) ? 6 : 8;
for_each_cpu_mask(cpu, callmap) { for_each_cpu(cpu, &callmap) {
BUG_ON(cpu >= 2); BUG_ON(cpu >= 2);
SSYNC(); SSYNC();
bfin_write_SICB_SYSCR(bfin_read_SICB_SYSCR() | (1 << (offset + cpu))); bfin_write_SICB_SYSCR(bfin_read_SICB_SYSCR() | (1 << (offset + cpu)));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册