From: Abhilash Kesavan Date: Thu, 22 Nov 2012 05:46:34 +0000 (+0900) Subject: ARM: EXYNOS: Remove scu_enable from cpuidle X-Git-Tag: upstream/snapshot3+hdmi~6093^2~2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a633208f2e97c7af9fa9e322fef249641f1f0c53;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ARM: EXYNOS: Remove scu_enable from cpuidle Cortex A9 based exynos4 has a memory mapped SCU while the Cortex A15 based exynos5 does not. Hence, remove the call to scu_enable for exynos5. Signed-off-by: Abhilash Kesavan Signed-off-by: Inderpal Singh Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm/mach-exynos/cpuidle.c index cff0595..8e4ec21 100644 --- a/arch/arm/mach-exynos/cpuidle.c +++ b/arch/arm/mach-exynos/cpuidle.c @@ -116,7 +116,8 @@ static int exynos4_enter_core0_aftr(struct cpuidle_device *dev, cpu_suspend(0, idle_finisher); #ifdef CONFIG_SMP - scu_enable(S5P_VA_SCU); + if (!soc_is_exynos5250()) + scu_enable(S5P_VA_SCU); #endif cpu_pm_exit();