[RFC] arm: psci: implement cpuidle_ops

Daniel Lezcano daniel.lezcano at linaro.org
Thu Jul 2 01:07:11 PDT 2015


On 07/02/2015 05:10 AM, Jisheng Zhang wrote:
> Hi all,
>
> we'd like to use cpuidle-arm.c for both arm and arm64 with psci as backend. For
> arm64, it works. But for arm, we miss cpuidle_ops. I want to add cpuidle_ops for
> arm psci, I dunno whether this is the correct direction, could you please give
> suggestions?

You should look at the macro

arch/arm/include/asm/cpuidle.h:

#define CPUIDLE_METHOD_OF_DECLARE(name, _method, _ops)


-- 
  <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




More information about the linux-arm-kernel mailing list