]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / cpuidle: Common callback routine for entering states
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Feb 2015 20:55:11 +0000 (21:55 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Feb 2015 20:55:11 +0000 (21:55 +0100)
commit5510baef04b835e0d56eaea1249613ee08ac1e6e
tree8f055537c917f4caa8ec9ccc6b764e4224b21418
parentf72ef09b1f551e4b9810c380e4aec009c0397402
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>
drivers/acpi/processor_idle.c