[CPUFREQ] ondemand - Use global sysfs dir for tuning settings
commit0e625ac153126a0a62b7635fa9dc91f87ff39e38
authorThomas Renninger <trenn@suse.de>
Fri, 24 Jul 2009 13:25:06 +0000 (24 15:25 +0200)
committerDave Jones <davej@redhat.com>
Tue, 1 Sep 2009 16:45:18 +0000 (1 12:45 -0400)
tree121d8d681e1fc401f12c17d705de476739553002
parent8aa84ad8d6c740a04386f599694609ee4998e82e
[CPUFREQ] ondemand - Use global sysfs dir for tuning settings

Ondemand has only global variables for userspace tunings via sysfs.
But they were exposed per CPU which wrongly implies to the user that
his settings are applied per cpu. Also locking sysfs against concurrent
access won't be necessary anymore after deprecation time.

This means the ondemand config dir is moved:
/sys/devices/system/cpu/cpu*/cpufreq/ondemand ->
     /sys/devices/system/cpu/cpufreq/ondemand

The old files will still exist, but reading or writing to them will
result in one (printk_once) deprecation msg to syslog per file.

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq_ondemand.c