diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2013-01-19 06:57:58 +0100 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-04-09 17:12:27 +0200 |
commit | 329afd264592f8d0e40fa063c089b35fba0014cc (patch) | |
tree | 045d02196e40f2bbd6bc0e8b69379af30f0f4bfe /arch/arm/mach-exynos/cpuidle.c | |
parent | ARM: EXYNOS: handle properly the return values (diff) | |
download | linux-329afd264592f8d0e40fa063c089b35fba0014cc.tar.xz 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/mach-exynos/cpuidle.c')
-rw-r--r-- | arch/arm/mach-exynos/cpuidle.c | 2 |
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; |