[PATCH v3 1/2] ARM: cpuidle: remove cpu parameter from the cpuidle_ops suspend hook
From: Daniel Lezcano <hidden>
Date: 2015-12-16 20:58:09
Also in:
linux-pm
From: Daniel Lezcano <hidden>
Date: 2015-12-16 20:58:09
Also in:
linux-pm
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 <redacted> Reviewed-by: Lina Iyer <redacted> Tested-by: Lina Iyer <redacted> Tested-by: Jisheng Zhang <redacted> [psci] Cc: Lina Iyer <redacted> Cc: Russell King <redacted> Cc: Daniel Lezcano <redacted> ---
Acked-by: Daniel Lezcano <redacted> -- <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