Re: [PATCH 09/17] ARM: exynos: cpuidle: Remove ifdef for scu_enable

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

 



On 4 April 2014 13:17, Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> wrote:
> The scu_enable function is already a noop in the scu's header file is
> CONFIG_SMP=n, so no need to use these macros in the code.
>
> Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
> ---
>  arch/arm/mach-exynos/pm.c |    5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
> index f43a004..c0d8640 100644
> --- a/arch/arm/mach-exynos/pm.c
> +++ b/arch/arm/mach-exynos/pm.c
> @@ -363,10 +363,7 @@ static void exynos_pm_resume(void)
>
>         if (!soc_is_exynos5250()) {
>                 exynos4_restore_pll();
> -
> -#ifdef CONFIG_SMP
>                 scu_enable(S5P_VA_SCU);
> -#endif
>         }
>
>  early_wakeup:
> @@ -386,9 +383,7 @@ static int exynos_cpu_pm_notifier(struct notifier_block *self,
>                 break;
>
>         case CPU_PM_EXIT:
> -#ifdef CONFIG_SMP
>                 scu_enable(S5P_VA_SCU);
> -#endif

Ahh you are removing them here :)

>                 exynos_cpu_restore_register();
>                 break;
>         }

Reviewed-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
--
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