diff options
author | Chris Wilson <[email protected]> | 2014-07-24 13:28:44 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2014-07-25 09:39:03 +0200 |
commit | 487777673e355ab9f0b7cac4ad1207be9d36156f (patch) | |
tree | b2c01d7ddc8a9ad5bf9b560ea962f38782b83b62 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | ec8b0dd51c50e33c3831bbf57ee4ca3e9f35460d (diff) |
drm/i915/userptr: Keep spin_lock/unlock in the same block
Move the code around in order to acquire and release the spinlock in the
same function and in the same block. This keeps static analysers happy
and the reader sane.
Suggested-by: Julia Lawall <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Julia Lawall <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions