diff options
author | Sudeep Holla <Sudeep.Holla@arm.com> | 2016-07-19 19:52:56 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-07-21 23:29:38 +0200 |
commit | 220276e09bd1ccf7563b8092f7bd794336420eb1 (patch) | |
tree | d480d8d2dd714cb6e538e943e64b901bdd0f7f07 /drivers/base | |
parent | arm64: cpuidle: drop __init section marker to arm_cpuidle_init (diff) | |
download | linux-220276e09bd1ccf7563b8092f7bd794336420eb1.tar.xz linux-220276e09bd1ccf7563b8092f7bd794336420eb1.zip |
cpuidle: introduce CPU_PM_CPU_IDLE_ENTER macro for ARM{32, 64}
The function arm_enter_idle_state is exactly the same in both generic
ARM{32,64} CPUIdle driver and will be the same even on ARM64 backend
for ACPI processor idle driver. So we can unify it and move it to a
common place by introducing CPU_PM_CPU_IDLE_ENTER macro that can be
used in all places avoiding duplication.
This is in preparation of reuse of the generic cpuidle entry function
for ACPI LPI support on ARM64.
Suggested-by: Rafael J. Wysocki <rjw@rjwysocki.net>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions