summaryrefslogtreecommitdiffstats
path: root/lib/cpumask.c
diff options
context:
space:
mode:
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>2011-07-27 01:08:44 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-27 01:49:44 +0200
commit95918f4a72ce1dbbd2ce67a7c3bfff31335f4219 (patch)
treeb9dc883f7b96a774522cfbb0bd87d46aed525e2d /lib/cpumask.c
parentfs/exec.c:acct_arg_size(): ptl is no longer needed for add_mm_counter() (diff)
downloadlinux-95918f4a72ce1dbbd2ce67a7c3bfff31335f4219.tar.xz
linux-95918f4a72ce1dbbd2ce67a7c3bfff31335f4219.zip
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 '')
-rw-r--r--lib/cpumask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cpumask.c b/lib/cpumask.c
index 05d6aca7fc19..4f6425d77232 100644
--- a/lib/cpumask.c
+++ b/lib/cpumask.c
@@ -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;
}