RE: [PATCH] ARM: Exynos4: fix non-SMP builds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marek Szyprowski wrote:
> 
> 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@xxxxxxxxxxx>
> Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>
> ---
>  arch/arm/mach-exynos/pm.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
> index 9a13af5..7a737c6 100644
> --- a/arch/arm/mach-exynos/pm.c
> +++ b/arch/arm/mach-exynos/pm.c
> @@ -388,7 +388,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));
> --
> 1.7.1.569.g6f426

OK, will apply.
Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@xxxxxxxxxxx>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux