From: Lan Tianyu Date: Wed, 11 Sep 2013 07:05:05 +0000 (+0800) Subject: cpufreq: Acquire the lock in cpufreq_policy_restore() for reading X-Git-Tag: v3.12-rc1~35^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44871c9c7f7963f8869dd8bc9620221c9e9db153;p=pandora-kernel.git cpufreq: Acquire the lock in cpufreq_policy_restore() for reading In cpufreq_policy_restore() before system suspend policy is read from percpu's cpufreq_cpu_data_fallback. It's a read operation rather than a write one, so take the lock for reading in there. Signed-off-by: Lan Tianyu Reviewed-by: Srivatsa S. Bhat Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed