summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-raid.c
diff options
context:
space:
mode:
authorAfzal Mohammed <afzal@ti.com>2012-01-04 06:22:31 +0100
committerDave Jones <davej@redhat.com>2012-01-06 16:10:53 +0100
commit226dd0193f9b8524789a86505ba05b1a74d916c1 (patch)
tree3a3024b8b507defa98f5f704618327a4dcfbc6e4 /drivers/md/dm-raid.c
parent[CPUFREQ] Remove wall variable from cpufreq_gov_dbs_init() (diff)
downloadlinux-226dd0193f9b8524789a86505ba05b1a74d916c1.tar.xz
linux-226dd0193f9b8524789a86505ba05b1a74d916c1.zip
[CPUFREQ] cpufreq:userspace: fix cpu_cur_freq updation
CPU frequency is guranteed to be changed on notifier callback with CPUFREQ_POSTCHANGE. Notifier callback with CPUFREQ_PRECHANGE does not gurantee a change in frequency; after it, if cpufreq driver is unable to change CPU to new frequency. This results in wrong information being fed to user (if setting CPU frequency fails) upon doing like, cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed Hence in userspace governer update cpu_cur_freq only if notifier has been called with POSTCHANGE. Signed-off-by: Afzal Mohammed <afzal@ti.com> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/md/dm-raid.c')
0 files changed, 0 insertions, 0 deletions