]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / idle: Implement ->enter_freeze callback routine
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 11 Feb 2015 04:04:57 +0000 (05:04 +0100)
committerRafael J. Wysocki <rjw@rjwysocki.net>
Sun, 15 Feb 2015 18:40:10 +0000 (19:40 +0100)
commit64d035cc99c39799c14f771b7af9f57abc19de6a
tree03993aaa509ee38a7a41832ec9c29c80a7eaa711
parent97d347e759f2e9b1dfc0c479fc9b528d16384210
ACPI / idle: Implement ->enter_freeze callback routine

Add an ->enter_freeze callback routine, acpi_idle_enter_freeze(), to
the ACPI cpuidle driver and point ->enter_freeze to it for all the
C2-type and C3-type states that don't need to fall back to C1
(which may be halt-induced and that will re-enable interrupts on
exit from idle, which ->enter_freeze cannot do).

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
drivers/acpi/processor_idle.c