]> err.no Git - linux-2.6/commit
[CPUFREQ] Keep userspace governor quiet when it is not being used
authorVenki Pallipadi <venkatesh.pallipadi@intel.com>
Wed, 20 Jun 2007 21:24:00 +0000 (14:24 -0700)
committerDave Jones <davej@redhat.com>
Thu, 21 Jun 2007 16:57:53 +0000 (12:57 -0400)
commitc7f652e0487a35c16f6cd72707232b6a28647a10
tree8ef6901d94aa0f168ae4ad07275c3cf15a0b3818
parent689eba77cbd0cfaaa3687cbe23e8b534f8ae0ebb
[CPUFREQ] Keep userspace governor quiet when it is not being used

Userspace governor registers a frequency change notifier at init time, even
when no CPU is set to userspace governor. Make it register only when
atleast one CPU is using userspace.

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