Skip to content
Commit fdd320da authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

cpufreq: Lock CPU online/offline in cpufreq_register_driver()



To protect against races with concurrent CPU online/offline, call
get_online_cpus() before registering a cpufreq driver.

Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 194d99c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment