commit | 5f5081852038d9a7b309190730bfb724b413235e | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Feb 11 05:04:57 2015 +0100 |
committer | Rafael J. Wysocki <rjw@rjwysocki.net> | Sun Feb 15 19:40:10 2015 +0100 |
tree | 03993aaa509ee38a7a41832ec9c29c80a7eaa711 | |
parent | 5fe2e52720e7a62da956d8aa81eadf6959c7acc8 [diff] |
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>