From: Marek Szyprowski Date: Fri, 27 Jan 2012 05:47:45 +0000 (+0900) Subject: ARM: EXYNOS: fix non-SMP builds for EXYNOS4 X-Git-Tag: v3.3-rc4~1^2~7^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=556ef3e474dd87d627655dafdf1e7eaf4747e388;p=platform%2Fkernel%2Flinux-exynos.git ARM: EXYNOS: fix non-SMP builds for EXYNOS4 This patch fixes the following build issue, which happens only if SMP has been disabled: arch/arm/mach-exynos/built-in.o: In function `exynos4_pm_resume': arch/arm/mach-exynos/pm.c:387: undefined reference to `scu_enable' Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index a4f61a4..2521b23 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c @@ -384,7 +384,9 @@ static void exynos4_pm_resume(void) exynos4_restore_pll(); +#ifdef CONFIG_SMP scu_enable(S5P_VA_SCU); +#endif #ifdef CONFIG_CACHE_L2X0 s3c_pm_do_restore_core(exynos4_l2cc_save, ARRAY_SIZE(exynos4_l2cc_save));