aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2006-06-15 21:39:25 -0400
committerLen Brown <len.brown@intel.com>2006-06-15 21:39:25 -0400
commitd42510a0f58c2583c37c8e9b7548e3a68545863a (patch)
tree9d44b95405b9f0083e911a66cc5512860293f95a /include/linux
parent8f2ddb37e564a9616c05fa0d5652e0049072a730 (diff)
parent193de0c79da580eb33a66113b62e2378fc1fb629 (diff)
Pull bugzilla-5737 into release branch
Conflicts: arch/x86_64/kernel/acpi/processor.c
Diffstat (limited to 'include/linux')
-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