[CPUFREQ] Get rid of userspace policy struct, make userspace gov _PPC safe.
authorThomas Renninger <trenn@suse.de>
Fri, 27 Jan 2006 15:15:26 +0000 (16:15 +0100)
committerDave Jones <davej@redhat.com>
Fri, 27 Jan 2006 18:36:49 +0000 (10:36 -0800)
commitc0672860199ac009af7cf198a134ee7a4c3a9bb3
tree9b59dfaaf655bacb8380dc8f611f9c2e6e66ca7a
parent0961dd0d217d072df736d964f47c2b6600931e19
[CPUFREQ] Get rid of userspace policy struct, make userspace gov _PPC safe.

Userspace governor need not to hold it's own cpufreq_policy,
better make use of the global core policy.
Also fixes a bug in case of frequency changes via _PPC.
Old min/max values have wrongly been passed to __cpufreq_driver_target()
(kind of buffered) and when max freq was available again, only the old
max(normally lowest freq) was still active.

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
 cpufreq_userspace.c |   53 +++++++++++++++++++++++++++-------------------------
 1 files changed, 28 insertions(+), 25 deletions(-)
drivers/cpufreq/cpufreq_userspace.c