commit | b4037aaa584bd914bbf578f5ceb2d9884fa7ddb6 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Thu Nov 27 08:54:07 2014 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sat Nov 29 23:53:20 2014 +0100 |
tree | 43ce804178e162d5d57922194483adaacc79a76b | |
parent | 129eec55df6ab1b5ecdd89fd7db7a2cd103200b5 [diff] |
PM / OPP replace kfree_rcu() with call_srcu() in opp_set_availability() This existed before we introduced call_srcu() in opp layer to synchronize with srcu_notifier_call_chain() while removing OPPs. And is a potential bug which wasn't noticed earlier. Let fix it as well by using the right API to free OPP. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>