Skip to content

Commit

Permalink
ARM: EXYNOS: fix non-SMP builds for EXYNOS4
Browse files Browse the repository at this point in the history
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 <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Marek Szyprowski authored and Kukjin Kim committed Jan 27, 2012
1 parent 5d3a219 commit 556ef3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-exynos/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 556ef3e

Please sign in to comment.