[PATCH v3 1/2] ARM: cpuidle: remove cpu parameter from the cpuidle_ops suspend hook

Daniel Lezcano daniel.lezcano at linaro.org
Wed Dec 16 12:58:09 PST 2015


On 10/16/2015 06:02 PM, Lorenzo Pieralisi wrote:
> The suspend() hook in the cpuidle_ops struct is always called on
> the cpu entering idle, which means that the cpu parameter passed
> to the suspend hook always corresponds to the local cpu, making
> it somewhat redundant.
>
> This patch removes the logical cpu parameter from the ARM
> cpuidle_ops.suspend hook and updates all the existing kernel
> implementations to reflect this change.
>
> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
> Reviewed-by: Lina Iyer <lina.iyer at linaro.org>
> Tested-by: Lina Iyer <lina.iyer at linaro.org>
> Tested-by: Jisheng Zhang <jszhang at marvell.com> [psci]
> Cc: Lina Iyer <lina.iyer at linaro.org>
> Cc: Russell King <linux at arm.linux.org.uk>
> Cc: Daniel Lezcano <daniel.lezcano at linaro.org>
> ---

Acked-by: Daniel Lezcano <daniel.lezcano at linaro.org>

-- 
  <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog




More information about the linux-arm-kernel mailing list