diff options
author | 2018-09-26 15:39:24 +0200 | |
---|---|---|
committer | 2018-09-27 15:21:37 +0200 | |
commit | d76ce03e1a7870ca6351610cf30bcf62949ea900 (patch) | |
tree | e16b14a1d94657dd1cbf6532686488e8ea1b40c4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | drm/vmwgfx: Reduce the size of buffer object relocations (diff) | |
download | linux-dev-d76ce03e1a7870ca6351610cf30bcf62949ea900.tar.xz linux-dev-d76ce03e1a7870ca6351610cf30bcf62949ea900.zip |
drm/vmwgfx: Replace unconditional mutex unlocked warnings with lockdep counterpart
Replace instances of WARN_ON[_ONCE](!mutex_is_held()) with
lockdep_assert_held(). This makes sure the checking process actually
holds the mutex and also removes the checks from release builds
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions