aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cpufreq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/cpufreq.h')
-rw-r--r--include/linux/cpufreq.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index 17866d7e2b71..f7d988366941 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -73,6 +73,8 @@ struct cpufreq_real_policy {
73 73
74struct cpufreq_policy { 74struct cpufreq_policy {
75 cpumask_t cpus; /* affected CPUs */ 75 cpumask_t cpus; /* affected CPUs */
76 unsigned int shared_type; /* ANY or ALL affected CPUs
77 should set cpufreq */
76 unsigned int cpu; /* cpu nr of registered CPU */ 78 unsigned int cpu; /* cpu nr of registered CPU */
77 struct cpufreq_cpuinfo cpuinfo;/* see above */ 79 struct cpufreq_cpuinfo cpuinfo;/* see above */
78 80
@@ -99,6 +101,8 @@ struct cpufreq_policy {
99#define CPUFREQ_INCOMPATIBLE (1) 101#define CPUFREQ_INCOMPATIBLE (1)
100#define CPUFREQ_NOTIFY (2) 102#define CPUFREQ_NOTIFY (2)
101 103
104#define CPUFREQ_SHARED_TYPE_ALL (0) /* All dependent CPUs should set freq */
105#define CPUFREQ_SHARED_TYPE_ANY (1) /* Freq can be set from any dependent CPU */
102 106
103/******************** cpufreq transition notifiers *******************/ 107/******************** cpufreq transition notifiers *******************/
104 108