From mboxrd@z Thu Jan 1 00:00:00 1970 From: daniel.lezcano@linaro.org (Daniel Lezcano) Date: Wed, 16 Dec 2015 21:58:09 +0100 Subject: [PATCH v3 1/2] ARM: cpuidle: remove cpu parameter from the cpuidle_ops suspend hook In-Reply-To: <1445011379-8787-2-git-send-email-lorenzo.pieralisi@arm.com> References: <1445011379-8787-1-git-send-email-lorenzo.pieralisi@arm.com> <1445011379-8787-2-git-send-email-lorenzo.pieralisi@arm.com> Message-ID: <5671D061.6060008@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > Reviewed-by: Lina Iyer > Tested-by: Lina Iyer > Tested-by: Jisheng Zhang [psci] > Cc: Lina Iyer > Cc: Russell King > Cc: Daniel Lezcano > --- Acked-by: Daniel Lezcano -- Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog