diff options
author | J. R. Okajima <[email protected]> | 2017-02-03 01:38:17 +0900 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-03-16 09:57:07 +0100 |
commit | 6419c4af777a773a45a1b1af735de0fcd9a7dcc7 (patch) | |
tree | 0f7d44f45b63043b15904ac5f755bbb0abddb7bc /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | e969970be033841d4c16b2e8ec8a3608347db861 (diff) |
locking/lockdep: Add new check to lock_downgrade()
Commit:
f8319483f57f ("locking/lockdep: Provide a type check for lock_is_held")
didn't fully cover rwsems as downgrade_write() was left out.
Introduce lock_downgrade() and use it to add new checks.
See-also: http://marc.info/?l=linux-kernel&m=148581164003149&w=2
Originally-written-by: Peter Zijlstra <[email protected]>
Signed-off-by: J. R. Okajima <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Rewrote the changelog. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions