diff options
Diffstat (limited to 'arch/arm/mach-exynos/hotplug.c')
-rw-r--r-- | arch/arm/mach-exynos/hotplug.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-exynos/hotplug.c b/arch/arm/mach-exynos/hotplug.c index 44932a8ae7b..4c974267852 100644 --- a/arch/arm/mach-exynos/hotplug.c +++ b/arch/arm/mach-exynos/hotplug.c @@ -94,13 +94,10 @@ static inline void platform_do_lowpower(unsigned int cpu, int *spurious) { u32 mpidr = cpu_logical_map(cpu); u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); - u32 cluster_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); - cluster_id = cluster_id > 1 ? 0 : cluster_id; - u32 cpu_idx = (cluster_id * 4) + core_id; for (;;) { /* Turn the CPU off on next WFI instruction. */ - exynos_cpu_power_down(cpu_idx); + exynos_cpu_power_down(core_id); /* * here's the WFI @@ -110,7 +107,7 @@ static inline void platform_do_lowpower(unsigned int cpu, int *spurious) : : "memory", "cc"); - if (pen_release == cpu_idx) { + if (pen_release == core_id) { /* * OK, proper wakeup, we're done */ |