PM / sleep: Make it possible to quiesce timers during suspend-to-idle
[deliverable/linux.git] / include / linux / cpuidle.h
index f63aabf4ee90b13becf4df90c47344faecfb449b..f551a9299ac987c5121a6f58383a953a8704d729 100644 (file)
@@ -50,6 +50,15 @@ struct cpuidle_state {
                        int index);
 
        int (*enter_dead) (struct cpuidle_device *dev, int index);
+
+       /*
+        * CPUs execute ->enter_freeze with the local tick or entire timekeeping
+        * suspended, so it must not re-enable interrupts at any point (even
+        * temporarily) or attempt to change states of clock event devices.
+        */
+       void (*enter_freeze) (struct cpuidle_device *dev,
+                             struct cpuidle_driver *drv,
+                             int index);
 };
 
 /* Idle State Flags */
This page took 0.028046 seconds and 5 git commands to generate.