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)
commitf6a7409cab3b525c5e55540e7cd08d23e198352f
tree90b912c47fee9f524731436a88b5f0bf0e4b3fa0
parent643ae6e81dd65b333a13259852405fc9f764ac76
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