[CPUFREQ] Eliminate the recent lockdep warnings in cpufreq
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Fri, 3 Jul 2009 00:08:30 +0000 (17:08 -0700)
committerDave Jones <davej@redhat.com>
Tue, 7 Jul 2009 01:38:27 +0000 (21:38 -0400)
commit7d26e2d5e2da37e92c6c7644b26b294dedd8c982
tree44d1637ac603fad42cbbf28ba7a89c9e194c4d0f
parentfaf80d62e44dc627efb741f48db50c1858d1667c
[CPUFREQ] Eliminate the recent lockdep warnings in cpufreq

Commit b14893a62c73af0eca414cfed505b8c09efc613c although it was very
much needed to properly cleanup ondemand timer, opened-up a can of worms
related to locking dependencies in cpufreq.

Patch here defines the need for dbs_mutex and cleans up its usage in
ondemand governor. This also resolves the lockdep warnings reported here

http://lkml.indiana.edu/hypermail/linux/kernel/0906.1/01925.html
http://lkml.indiana.edu/hypermail/linux/kernel/0907.0/00820.html

and few others..

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq.c
drivers/cpufreq/cpufreq_conservative.c
drivers/cpufreq/cpufreq_ondemand.c