Commit 95918f4a authored by KOSAKI Motohiro's avatar KOSAKI Motohiro Committed by Linus Torvalds

cpumask: convert for_each_cpumask() with for_each_cpu()

Adapt new API fashion.
Signed-off-by: default avatarKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment