commit | 6491bc0c616969f7ae1fcb30a8823c333e2944c7 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Feb 03 21:55:11 2015 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Feb 03 21:55:11 2015 +0100 |
tree | 8f055537c917f4caa8ec9ccc6b764e4224b21418 | |
parent | d2cecb3d66e39765f3dec8adfb88c322e709b06d [diff] |
ACPI / cpuidle: Common callback routine for entering states Introduce a common ->enter callback routine for the ACPI cpuidle driver, acpi_idle_enter(), which helps to reduce code complexity, size and duplication and prevents theoretically possible failues that an incorrect routine may be run to enter the given idle state due to a firmware bug (eg. when _CST returns a different set of states for each processor). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>