]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/cpufreq/cpufreq_governor.h
Merge remote-tracking branches 'asoc/topic/sigmadsp', 'asoc/topic/sirf', 'asoc/topic...
[karo-tx-linux.git] / drivers / cpufreq / cpufreq_governor.h
index bfb9ae14142c85a82341bf63afa594ed0fdaa278..cc401d147e727615c8255a951a08065ae954fb23 100644 (file)
@@ -134,6 +134,13 @@ struct cpu_dbs_common_info {
        u64 prev_cpu_idle;
        u64 prev_cpu_wall;
        u64 prev_cpu_nice;
+       /*
+        * Used to keep track of load in the previous interval. However, when
+        * explicitly set to zero, it is used as a flag to ensure that we copy
+        * the previous load to the current interval only once, upon the first
+        * wake-up from idle.
+        */
+       unsigned int prev_load;
        struct cpufreq_policy *cur_policy;
        struct delayed_work work;
        /*