diff options
| author | Dave Jones <davej@redhat.com> | 2004-12-28 16:51:32 -0500 |
|---|---|---|
| committer | Dave Jones <davej@redhat.com> | 2004-12-28 16:51:32 -0500 |
| commit | 2dc200fe05e824b4f24eb2748ff7d6dd6d22377d (patch) | |
| tree | 4e410ff87173b9b35032e1a28a070f20de144e1d /include | |
| parent | 53d36e36182c1873dfb7db67359913246aaffc54 (diff) | |
[CPUFREQ] cpufreq stat output in sysfs
From: "Zou, Nanhai" <nanhai.zou@intel.com>
Export cpufreq transition information for drivers using the freq-table helpers
via sysfs.
Two minor updates from Dominik Brodowski:
s/translation/transition
Kconfig re-ordering
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/cpufreq.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 060cf3bba586..2128a3de8070 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -351,6 +351,11 @@ int cpufreq_frequency_table_target(struct cpufreq_policy *policy, unsigned int relation, unsigned int *index); +/* the following 3 funtions are for cpufreq core use only */ +struct cpufreq_frequency_table *cpufreq_frequency_get_table(unsigned int cpu); +struct cpufreq_policy *cpufreq_cpu_get(unsigned int cpu); +void cpufreq_cpu_put (struct cpufreq_policy *data); + /* the following are really really optional */ extern struct freq_attr cpufreq_freq_attr_scaling_available_freqs; |
