diff options
| author | 2016-02-03 01:11:38 +0530 | |
|---|---|---|
| committer | 2016-02-05 02:38:02 +0100 | |
| commit | 6d167a44e6c8da3316e037b788585fcf96112bea (patch) | |
| tree | 367a16c1d47d2bd8b838e4ead4321b4aebc6c958 /include/linux | |
| parent | cpufreq: powernv: Free 'chips' on module exit (diff) | |
cpufreq: powernv: Hot-plug safe the kworker thread
In the kworker_thread powernv_cpufreq_work_fn(), we can end up
sending an IPI to a cpu going offline. This is a rare corner case
which is fixed using {get/put}_online_cpus(). Along with this fix,
this patch adds changes to do oneshot cpumask_{clear/and} operation.
Suggested-by: Shreyas B Prabhu <shreyas@linux.vnet.ibm.com>
Suggested-by: Gautham R Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
