diff options
| author | Steve French <sfrench@us.ibm.com> | 2006-01-12 17:47:08 -0500 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2006-01-12 17:47:08 -0500 |
| commit | 94bc2be31a01a3055ec94176e595dfe208e92d3b (patch) | |
| tree | ebfbe81c6718a6390bfa1b99c6d228237d818576 /include/linux/cpufreq.h | |
| parent | c32a0b689cb9cc160cfcd19735bbf50bb70c6ef4 (diff) | |
| parent | 58cba4650a7a414eabd2b40cc9d8e45fcdf192d9 (diff) | |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'include/linux/cpufreq.h')
| -rw-r--r-- | include/linux/cpufreq.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index d068176b7ad7..c31650df9241 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h | |||
| @@ -256,6 +256,16 @@ int cpufreq_update_policy(unsigned int cpu); | |||
| 256 | /* query the current CPU frequency (in kHz). If zero, cpufreq couldn't detect it */ | 256 | /* query the current CPU frequency (in kHz). If zero, cpufreq couldn't detect it */ |
| 257 | unsigned int cpufreq_get(unsigned int cpu); | 257 | unsigned int cpufreq_get(unsigned int cpu); |
| 258 | 258 | ||
| 259 | /* query the last known CPU freq (in kHz). If zero, cpufreq couldn't detect it */ | ||
| 260 | #ifdef CONFIG_CPU_FREQ | ||
| 261 | unsigned int cpufreq_quick_get(unsigned int cpu); | ||
| 262 | #else | ||
| 263 | static inline unsigned int cpufreq_quick_get(unsigned int cpu) | ||
| 264 | { | ||
| 265 | return 0; | ||
| 266 | } | ||
| 267 | #endif | ||
| 268 | |||
| 259 | 269 | ||
| 260 | /********************************************************************* | 270 | /********************************************************************* |
| 261 | * CPUFREQ DEFAULT GOVERNOR * | 271 | * CPUFREQ DEFAULT GOVERNOR * |
