From: KOSAKI Motohiro Date: Tue, 26 Jul 2011 23:08:44 +0000 (-0700) Subject: cpumask: convert for_each_cpumask() with for_each_cpu() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=95918f4a72ce1dbbd2ce67a7c3bfff31335f4219;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git cpumask: convert for_each_cpumask() with for_each_cpu() Adapt new API fashion. Signed-off-by: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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; }