-
由 Jacob Shin 提交于
Clear ->cur_policy when stopping a governor, or the ->cur_policy pointer may be stale on systems with have_governor_per_policy when a new policy is allocated due to CPU hotplug offline/online. [rjw: Changelog] Suggested-by: NViresh Kumar <viresh.kumar@linaro.org> Signed-off-by: NJacob Shin <jacob.shin@amd.com> Acked-by: NViresh Kumar <viresh.kumar@linaro.org> Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
419e1721