Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 063181a4 authored by Lorenzo Pieralisi's avatar Lorenzo Pieralisi Committed by Alex Shi
Browse files

ARM: 8485/1: cpuidle: remove cpu parameter from the cpuidle_ops suspend hook



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: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: default avatarLina Iyer <lina.iyer@linaro.org>
Tested-by: default avatarLina Iyer <lina.iyer@linaro.org>
Tested-by: Jisheng Zhang <jszhang@marvell.com> [psci]
Cc: Lina Iyer <lina.iyer@linaro.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
(cherry picked from commit f6419f240b15f967713c5cd6857dfba8fb390589)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
parent a501ac0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment