summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2013-01-18 21:57:58 -0800
committerKukjin Kim <kgene.kim@samsung.com>2013-04-10 00:12:27 +0900
commit329afd264592f8d0e40fa063c089b35fba0014cc (patch)
tree045d02196e40f2bbd6bc0e8b69379af30f0f4bfe /arch/arm
parent5db9f436213d81f053e3f6d69d367637b02fe95e (diff)
downloadlinux-329afd264592f8d0e40fa063c089b35fba0014cc.tar.gz
linux-329afd264592f8d0e40fa063c089b35fba0014cc.tar.bz2
linux-329afd264592f8d0e40fa063c089b35fba0014cc.zip
ARM: EXYNOS: replace cpumask by the corresponding macro
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-exynos/cpuidle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm/mach-exynos/cpuidle.c
index a4e50811c9c5..e2689d1133b9 100644
--- a/arch/arm/mach-exynos/cpuidle.c
+++ b/arch/arm/mach-exynos/cpuidle.c
@@ -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;