]> git.hungrycats.org Git - linux/commit
[CPUFREQ] updated cpufreq ref-counting and locking scheme
authorDave Jones <davej@codemonkey.org.uk>
Sat, 8 Mar 2003 07:37:39 +0000 (06:37 -0100)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sat, 8 Mar 2003 07:37:39 +0000 (06:37 -0100)
commit68b7d00fe42a6039af404a11e3788cc264bde48d
tree23a5b439cf6955fba5c5338397ed703c1a66ff33
parent4efee5caac1fd80bb0086e14dc4badc957c9827d
[CPUFREQ] updated cpufreq ref-counting and locking scheme

This patch takes use of the now-working cpufreq_interface.kset and
cpufreq_policy.kobj to use reference counting within the cpufreq core
wherever this is more appropriate than the previous approach -- using one
semaphore. Additionally, the callbacks to the driver modules are protected
now.
13 files changed:
arch/i386/kernel/cpu/cpufreq/acpi.c
arch/i386/kernel/cpu/cpufreq/elanfreq.c
arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
arch/i386/kernel/cpu/cpufreq/longhaul.c
arch/i386/kernel/cpu/cpufreq/longrun.c
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
arch/i386/kernel/cpu/cpufreq/powernow-k6.c
arch/i386/kernel/cpu/cpufreq/powernow-k7.c
arch/i386/kernel/cpu/cpufreq/speedstep.c
arch/sparc64/kernel/us3_cpufreq.c
drivers/cpufreq/userspace.c
include/linux/cpufreq.h
kernel/cpufreq.c