diff options
author | Thomas Renninger <trenn@suse.de> | 2009-07-24 09:25:05 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2009-09-01 12:45:14 -0400 |
commit | 8aa84ad8d6c740a04386f599694609ee4998e82e (patch) | |
tree | b5bedf4203f038c0f624d3240d9d23dbc9e20e63 /mm/swap.c | |
parent | 4bfa042cd304aa48cf05cd0a13c2d0794a675c0e (diff) |
[CPUFREQ] Introduce global, not per core: /sys/devices/system/cpu/cpufreq
Currently everything in the cpufreq layer is per core based.
This does not reflect reality, for example ondemand on conservative
governors have global sysfs variables.
Introduce a global cpufreq directory and add the kobject to the governor
struct, so that governors can easily access it.
The directory is initialized in the cpufreq_core_init initcall and thus will
always be created if cpufreq is compiled in, even if no cpufreq driver is
active later.
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions