Re: [PATCH 2/6] ARM: cpuidle: Add a cpuidle ops structure to be used for DT
From: Catalin Marinas
Date: Fri Mar 20 2015 - 13:24:05 EST
On Tue, Mar 03, 2015 at 01:29:33PM +0100, Daniel Lezcano wrote:
> diff --git a/arch/arm64/include/asm/cpuidle.h b/arch/arm64/include/asm/cpuidle.h
> index 0710654..1bee287 100644
> --- a/arch/arm64/include/asm/cpuidle.h
> +++ b/arch/arm64/include/asm/cpuidle.h
> @@ -15,5 +15,8 @@ static inline int cpu_suspend(unsigned long arg)
> return -EOPNOTSUPP;
> }
> #endif
> -
> +static inline int arm_cpuidle_suspend(int index)
> +{
> + return cpu_suspend(index);
> +}
> #endif
Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/