diff options
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | 2011-07-26 19:08:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 19:49:44 -0400 |
commit | 95918f4a72ce1dbbd2ce67a7c3bfff31335f4219 (patch) | |
tree | b9dc883f7b96a774522cfbb0bd87d46aed525e2d /lib | |
parent | 32e107f71e4a993ac438f0049aa4019457911ffb (diff) |
cpumask: convert for_each_cpumask() with for_each_cpu()
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cpumask.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cpumask.c b/lib/cpumask.c index 05d6aca7fc1..4f6425d7723 100644 --- a/lib/cpumask.c +++ b/lib/cpumask.c | |||
@@ -30,7 +30,7 @@ int __any_online_cpu(const cpumask_t *mask) | |||
30 | { | 30 | { |
31 | int cpu; | 31 | int cpu; |
32 | 32 | ||
33 | for_each_cpu_mask(cpu, *mask) { | 33 | for_each_cpu(cpu, mask) { |
34 | if (cpu_online(cpu)) | 34 | if (cpu_online(cpu)) |
35 | break; | 35 | break; |
36 | } | 36 | } |