From: venkatesh.pallipadi@intel.com Date: Fri, 3 Jul 2009 00:08:31 +0000 (-0700) Subject: [CPUFREQ] Mark policy_rwsem as going static in cpufreq.c wont be exported X-Git-Tag: v2.6.31-rc3~50^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37c90e8887efd218dc4af949b7f498ca2da4af9f;p=pandora-kernel.git [CPUFREQ] Mark policy_rwsem as going static in cpufreq.c wont be exported lock_policy_rwsem_* and unlock_policy_rwsem_* routines in cpufreq.c are currently exported to drivers. Improper use of those locks can result in deadlocks and it is better to keep the locks localized. Two previous in-kernel users of these interfaces (ondemand and conservative), do not use this interfaces any more. Schedule them for removal. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Dave Jones --- Reading git-diff-tree failed