]> git.baikalelectronics.ru Git - kernel.git/commit
[CPUFREQ] revert "[CPUFREQ] remove rwsem lock from CPUFREQ_GOV_STOP call (second...
authorAndrej Gelenberg <andrej.gelenberg@udo.edu>
Fri, 14 May 2010 22:15:58 +0000 (15:15 -0700)
committerDave Jones <davej@redhat.com>
Mon, 26 Jul 2010 19:25:33 +0000 (15:25 -0400)
commit3dd914ac069e0c8e57c9b8e55a79c8bf9c53443d
treec76971857ceb6ca4661beee6b4922278a93d91a4
parentdcaf3bff355917d6946999a969d102587e736f39
[CPUFREQ] revert "[CPUFREQ] remove rwsem lock from CPUFREQ_GOV_STOP call (second call site)"

312d7c97a0ce9bbedab3e53f8024bb600dd68406 ("[CPUFREQ] remove rwsem lock
from CPUFREQ_GOV_STOP call (second call site)") is not needed, because
there is no rwsem lock in cpufreq_ondemand and cpufreq_conservative
anymore.  Lock should not be released until the work done.

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=1594

Signed-off-by: Andrej Gelenberg <andrej.gelenberg@udo.edu>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq.c