Skip to content

Commit

Permalink
ARM: EXYNOS: replace cpumask by the corresponding macro
Browse files Browse the repository at this point in the history
A trivial patch to replace for_each_cpu(cpu_id, cpu_online_mask) by
the corresponding macro.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Daniel Lezcano authored and Kukjin Kim committed Apr 9, 2013
1 parent 5db9f43 commit 329afd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos/cpuidle.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ static int __init exynos4_init_cpuidle(void)
return ret;
}

for_each_cpu(cpu_id, cpu_online_mask) {
for_each_online_cpu(cpu_id) {
device = &per_cpu(exynos4_cpuidle_device, cpu_id);
device->cpu = cpu_id;

Expand Down

0 comments on commit 329afd2

Please sign in to comment.