Home
last modified time | relevance | path

Searched hist:"2 eaa3e2df185997e92596ab14a2a67dde3876d2e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/cpufreq/
H A Dcpufreq.cdiff 2eaa3e2df185997e92596ab14a2a67dde3876d2e Wed Feb 06 23:25:00 CST 2013 Viresh Kumar <viresh.kumar@linaro.org> cpufreq: Fix locking issues

cpufreq core uses two locks:
- cpufreq_driver_lock: General lock for driver and cpufreq_cpu_data array.
- cpu_policy_rwsemfix locking: per CPU reader-writer semaphore designed to cure
all cpufreq/hotplug/workqueue/etc related lock issues.

These locks were not used properly and are placed against their principle
(present before their definition) at various places. This patch is an attempt to
fix their use.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>