aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cpufreq.h
diff options
context:
space:
mode:
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>2005-12-14 15:05:00 -0500
committerLen Brown <len.brown@intel.com>2006-02-09 03:21:48 -0500
commit3b2d99429e3386b6e2ac949fc72486509c8bbe36 (patch)
treeb2162152b2c7fa56b13f74a0b166b978dd3ee548 /include/linux/cpufreq.h
parent0bdd340c092b0936f78a54bdbd3927463ed4fca3 (diff)
P-state software coordination for ACPI core
http://bugzilla.kernel.org/show_bug.cgi?id=5737 Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
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