diff options
author | Thomas Renninger <trenn@suse.de> | 2007-10-02 16:28:13 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2007-10-04 18:40:57 -0400 |
commit | 6afde10c3f58cc3ac593f5b4505b8b1cf719f5d6 (patch) | |
tree | 28f8d8af521abb7186836bd7003cec237907b79a /include | |
parent | 1c2562459faedc35927546cfa5273ec6c2884cce (diff) |
[CPUFREQ] Only check for transition latency on problematic governors (kconfig fix)
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cpufreq.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 9e5f5d0c87f3..450a841b5892 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h | |||
@@ -286,8 +286,9 @@ static inline unsigned int cpufreq_quick_get(unsigned int cpu) | |||
286 | Performance governor is fallback governor if any other gov failed to | 286 | Performance governor is fallback governor if any other gov failed to |
287 | auto load due latency restrictions | 287 | auto load due latency restrictions |
288 | */ | 288 | */ |
289 | #ifdef CONFIG_CPU_FREQ_GOV_PERFORMANCE | ||
289 | extern struct cpufreq_governor cpufreq_gov_performance; | 290 | extern struct cpufreq_governor cpufreq_gov_performance; |
290 | #define CPUFREQ_PERFORMANCE_GOVERNOR (&cpufreq_gov_performance) | 291 | #endif |
291 | #ifdef CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE | 292 | #ifdef CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE |
292 | #define CPUFREQ_DEFAULT_GOVERNOR (&cpufreq_gov_performance) | 293 | #define CPUFREQ_DEFAULT_GOVERNOR (&cpufreq_gov_performance) |
293 | #elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE) | 294 | #elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE) |