[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)
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(-)


No differences found