From: Nathan Zimmer Date: Thu, 4 Apr 2013 14:53:25 +0000 (+0000) Subject: cpufreq: convert cpufreq_driver to using RCU X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~92^2~1^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5800043b2488a1c4c6e859af860644d37419d58b;p=pandora-kernel.git cpufreq: convert cpufreq_driver to using RCU We eventually would like to remove the rwlock cpufreq_driver_lock or convert it back to a spinlock and protect the read sections with RCU. The first step in that direction is to make cpufreq_driver use RCU. I don't see an easy wasy to protect the cpufreq_cpu_data structure with RCU, so I am leaving it with the rwlock for now since under certain configs __cpufreq_cpu_get is a hot spot with 256+ cores. [rjw: Subject, changelog, white space] Signed-off-by: Nathan Zimmer Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed