]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: Notify governors when cpus are hot-[un]plugged
authorViresh Kumar <viresh.kumar@linaro.org>
Sat, 12 Jan 2013 05:14:39 +0000 (05:14 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 1 Feb 2013 23:01:14 +0000 (00:01 +0100)
commitaf441275ad4329230c57631bf8698380423bce38
tree90b912c47fee9f524731436a88b5f0bf0e4b3fa0
parent0344b67a26a5ae62961157564cf9af78e3e69f90
cpufreq: Notify governors when cpus are hot-[un]plugged

Because cpufreq core and governors worry only about the online cpus, if a cpu is
hot [un]plugged, we must notify governors about it, otherwise be ready to expect
something unexpected.

We already have notifiers in the form of CPUFREQ_GOV_START/CPUFREQ_GOV_STOP, we
just need to call them now.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c