arm64: Convert cpu_do_idle() to using cpuidle context helpers
authorMarc Zyngier <maz@kernel.org>
Tue, 15 Jun 2021 11:12:25 +0000 (12:12 +0100)
committerWill Deacon <will@kernel.org>
Thu, 17 Jun 2021 17:00:39 +0000 (18:00 +0100)
commitd4dc10277255afc303de4f00cbee0b9ce74d870f
treedddee38004ed7d6c2e11f5a6d2b85e4d423ca045
parent8848f0665b3cd4fbb3107b384f5205380c90634d
arm64: Convert cpu_do_idle() to using cpuidle context helpers

Now that we have helpers that are aware of the pseudo-NMI
feature, introduce them to cpu_do_idle(). This allows for
some nice cleanup.

No functional change intended.

Tested-by: Valentin Schneider <valentin.schneider@arm.com>
Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210615111227.2454465-3-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/process.c