diff options
author | 2015-11-05 14:21:21 +0530 | |
---|---|---|
committer | 2015-11-06 23:59:42 +0100 | |
commit | 0597e818501f595090a49a1779ab6ec377051b11 (patch) | |
tree | c533619d73d101302533e476b51dd8935385d820 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PM / OPP: Hold dev_opp_list_lock for writers (diff) | |
download | wireguard-linux-0597e818501f595090a49a1779ab6ec377051b11.tar.xz wireguard-linux-0597e818501f595090a49a1779ab6ec377051b11.zip |
PM / OPP: Add opp_rcu_lockdep_assert() to _find_device_opp()
_find_device_opp() should be called with rcu-read lock or
dev_opp_list_lock held. Add the opp_rcu_lockdep_assert() check to make
sure caller have taken appropriate locks.
Fix comment over the routine as well.
Suggested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions