From: Abhilash Kesavan Date: Thu, 22 Nov 2012 05:46:34 +0000 (+0900) Subject: ARM: EXYNOS: Remove scu_enable from cpuidle X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a633208f2e97c7af9fa9e322fef249641f1f0c53;p=openwrt%2Fstaging%2Fblogic.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 cff0595d0d35..8e4ec21ef2cf 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();