ARM: firmware: add prepare_idle() operation
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 7 Feb 2014 04:35:04 +0000 (13:35 +0900)
committerStephen Warren <swarren@nvidia.com>
Tue, 18 Feb 2014 20:46:42 +0000 (13:46 -0700)
commitcd42145cd993fa1a7426d63648fc7e3423fb2e1d
tree889688f5cce091552061c60c6cea98d613779fbc
parent5b154f18086f11096567aad55543af4bc44a0aa0
ARM: firmware: add prepare_idle() operation

Some firmwares do not put the CPU into idle mode themselves, but still
need to be informed that the CPU is about to enter idle mode before this
happens. Add a prepare_idle() operation to the firmware_ops structure to
handle such cases.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/include/asm/firmware.h