提交 95918f4a 编写于 作者: K KOSAKI Motohiro 提交者: Linus Torvalds

cpumask: convert for_each_cpumask() with for_each_cpu()

Adapt new API fashion.
Signed-off-by: NKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 32e107f7
...@@ -30,7 +30,7 @@ int __any_online_cpu(const cpumask_t *mask) ...@@ -30,7 +30,7 @@ int __any_online_cpu(const cpumask_t *mask)
{ {
int cpu; int cpu;
for_each_cpu_mask(cpu, *mask) { for_each_cpu(cpu, mask) {
if (cpu_online(cpu)) if (cpu_online(cpu))
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册