Skip to content

Commit

Permalink
cpumask: convert for_each_cpumask() with for_each_cpu()
Browse files Browse the repository at this point in the history
Adapt new API fashion.

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
KOSAKI Motohiro authored and Linus Torvalds committed Jul 26, 2011
1 parent 32e107f commit 95918f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cpumask.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ int __any_online_cpu(const cpumask_t *mask)
{
int cpu;

for_each_cpu_mask(cpu, *mask) {
for_each_cpu(cpu, mask) {
if (cpu_online(cpu))
break;
}
Expand Down

0 comments on commit 95918f4

Please sign in to comment.